我们正尝试部署升级到.net core 3.0的Web应用程序,但会出现“服务不可用”的情况。
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 …Run Code Online (Sandbox Code Playgroud)