question

TroyHughes-1571 avatar image
0 Votes"
TroyHughes-1571 asked SnehaAgrawal-MSFT answered

Deploying .NET5 Windows Web App changes Azure configuration to .NET Core (3.1, 2.1)

Before I get started

  • Visual Studio 2019 16.10.0

  • Targeting .NET5 SDK 5.0.300.

  • Azure Windows Web App 64-bit / .NET5

After deploying my app from Visual Studio I'm seeing my .NET version in Configuration -> General Settings being changed to .NET Core (3.1, 2.1). So far I haven't noticed that it is affecting the operation of my web app but I'm curious if this is a known issue? I'd like to know if I should keep changing it back to .NET 5 or if I should just leave it. Thanks.





azure-webapps
· 4
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.

Thanks for asking question! If I have understood right you are deploying .NET 5 Windows Web App from Visual Studio 2019 16.10.0 and
when checking from Azure Portal> Web app > configuration > general settings the stack settings seen here is .NET core(3.1, 2.1). You can change Runtime stack settings to .Net core 5. While I am checking on this internally.

0 Votes 0 ·

Yes, I start with it set to .NET5, deploy my .NET5 web app, and when I check the setting again after deployment it is changed to .NET Core (3.1, 2.1). My publish profile target framework is .NET5. I don’t think it should be changing to older framework setting.

0 Votes 0 ·

Thanks for confirming! We apologize for the inconvenience! I have reached to product group and we are internally working on this. Currently you can toggle this through config settings from the portal as mentioned above.

0 Votes 0 ·
Show more comments

1 Answer

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.