We are trying to deploy our web app after upgrading to .NET Core 3.0, but it keeps getting the "service unavailable" message. If we try to run dotnet
from Kudu (dotnet webapp.dll
) we get the following error:
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
We tried to install .NET Core 3.0 with Microsoft's guide for Azure, but with no success.
Any suggestions?
We had exactly the same problem. Azure App Service does not currently support Net Core 3.
The temporary workaround is to build a self contained app from Visual Studio through the publish tool. You can change it from Framework Dependent to Self Contained in the publishing settings. Simply deploy that to Azure.
We also tried to use our DevOps pipelines to do this, but couldn't work out how to do a self contained build and as Azure will hopefully support Net Core 3 soon, the publish works fine for now.
Hope that helps :)
You can keep track on the latest releases on the ASP.NET Core on App Service Dashboard
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With