升级到.NET Core 3.0后,我们正在尝试部署Web应用程序,但它始终显示“服务不可用”消息。如果尝试dotnet
从Kudu(dotnet webapp.dll
)运行,则会出现以下错误:
It was not possible to find any compatible framework version
The specified framework 'Microsoft.AspNetCore.App', version '3.0.0' was not found.
- The following frameworks were found:
2.1.10 at [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
2.1.12 at [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
2.1.13 at [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
2.2.5 at [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
2.2.6 at [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
2.2.7 at [D:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
The .NET Core frameworks can be found at:
- https://aka.ms/dotnet-download
我们尝试通过Microsoft Azure指南安装.NET Core 3.0 ,但没有成功。
有什么建议么?