question

JustinAsmussen-8946 avatar image
0 Votes"
JustinAsmussen-8946 asked SnehaAgrawal-MSFT answered

Azure app service reverts .net 5 to .net 3.1 after publish

I have a blazor wasm app I am deploying to Azure App service using VS 2019 publish feature. I have noticed in the configuration > general settings in the Azure portal that after publishing the app the framework reverts to .NET Core 3.1. My publish settings are correct, target framework is set to .NET 5.

How do I fix this? Is there another setting somewhere?

azure-webapps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SnehaAgrawal-MSFT avatar image
0 Votes"
SnehaAgrawal-MSFT answered

Thanks for reaching here! If I have understood right when you are deploying .NET 5 Windows Web App from Visual Studio 2019 and
when checking from Azure Portal> Web app > configuration > general settings the stack settings seen here is .NET core(3.1, 2.1).

If so, Apologize for the inconvenience with this issue! The product team is aware of this and working on fix. for now you can toggle this through config settings from the portal and change Runtime stack settings to .Net core 5.

We will keep you posted here.

Let us know if further query or issue remains.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SnehaAgrawal-MSFT avatar image
0 Votes"
SnehaAgrawal-MSFT answered

Update: This issue is now resolved and deploying .NET 5 Windows Web App from Visual Studio 2019 and
when checking from Azure Portal> Web app > configuration > general settings the stack settings is .NET 5

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JustinAsmussen-8946 avatar image
0 Votes"
JustinAsmussen-8946 answered

Thank you for the response.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.