@Juwon Park Visual Publish do not change Azure Configuration, you need to change it on AppService Configuration.
Azure app service reverts to previous version
I have blazor web app I'm deploying to Azure App service using VS2022 Preview publish feature. I have upgrade my project target framework to .NET 8. And I have my publish setting target framework to .NET 8. However after publishing the app the configuration > general settings in Azure portal stack setting reverts back to .NET 6 which is the previous target framework I used. Is there a to fix this issue?
.NET
ASP.NET
Visual Studio
.NET Runtime
Azure App Service
-
ajkuma 26,626 Reputation points • Microsoft Employee
2024-01-31T19:23:41.0433333+00:00 We noticed your recent experience on the Q&A community platform was rated low (answer provided was not helpful). Thank you for taking time to share your feedback.
I understand your feedback on App Service reverting to previous .Net version.
We are here to help you and strive to make your experience better and greatly value your feedback. We would appreciate if you may consider re-surveying once your issue is resolved. Your feedback is very important to us.I have added additional tags and will follow-up on this shortly.
-
Gregory Hansen 0 Reputation points
2024-08-28T18:56:21.4066667+00:00 This also happens to me. Azure repeatedly reverts from NET 8 to NET 6.
Sign in to comment
1 answer
Sort by: Most helpful
-
Carlos dos Santos 85 Reputation points
2024-01-30T15:53:40.9966667+00:00 -
JuwonPark-6692 5 Reputation points
2024-01-30T16:02:56.2033333+00:00 I updated on AppService Configuration. But when I publish my upgraded project again, the AppService's configuration stack version reverts back to previous version.
-
Carlos dos Santos 85 Reputation points
2024-01-30T16:20:17.6033333+00:00 Are you publishing using a downloaded Publish Profile from AppService ?
-
JuwonPark-6692 5 Reputation points
2024-01-30T16:32:44.9233333+00:00 Yes. I tried again with downloaded profile and still has the issue.
-
Carlos dos Santos 85 Reputation points
2024-01-30T17:21:27.2466667+00:00 Can you send a print of this screen from VS?
-
JuwonPark-6692 5 Reputation points
2024-01-30T18:04:03.6933333+00:00 -
Carlos dos Santos 85 Reputation points
2024-01-30T19:39:14.4033333+00:00 It seems like your problem: https://learn.microsoft.com/en-us/answers/questions/436954/azure-app-service-reverts-net-5-to-net-3-1-after-p
-
JuwonPark-6692 5 Reputation points
2024-01-30T20:11:39.3566667+00:00 Yes I think it is the same problem but different version of visual studio and target framework.
-
Carlos dos Santos 85 Reputation points
2024-02-06T23:22:40.9233333+00:00 Hi Juwon, some news about this?
-
JuwonPark-6692 5 Reputation points
2024-02-07T15:24:15.63+00:00 No, I'm still having the problem.
-
-
Phumudzo Mamphaga 0 Reputation points
2024-06-18T10:02:14.5866667+00:00 I am also experiencing the same issue, my web application is .Net 8 but when i publish it changes my Application settings .Net 6
-
sabbir saiyed 0 Reputation points
2024-07-24T12:05:36.8233333+00:00 Experienced same issue, I changed version to Net 8 manually under configuration -> General Settings. But after publishing app , setting reverts back to .NET 6
-
sabbir saiyed 0 Reputation points
2024-07-24T16:44:36.6266667+00:00 Experienced same as I changed version Net 8 on AppService Configuration, setting reverts it to previous version .Net 6 after deploying my blazor web app
-
Gregory Hansen 0 Reputation points
2024-08-28T18:58:51.7733333+00:00 This also happens to me. Azure repeatedly reverts from NET 8 to NET 6. I'm deploying a Blazor WASM app.
Microsoft, please investigate, this has been happening for months.
-
ajkuma 26,626 Reputation points • Microsoft Employee
2024-09-09T18:03:26.5733333+00:00 I have relayed the feedback internally. Our team is working on it, as soon I have more updates. I'll share it here.
Apologies for any inconvenience with this issue.
-
Gregory Hansen 0 Reputation points
2024-09-20T00:26:32.23+00:00 @ajkuma Thanks for relaying to the team.
Q. I assume Azure is actually ignoring that setting; i.e., Azure configuration says the .NET Version is .NET 6 but I deployed a WASM app built with .NET 8, thus it must be impossible for Azure to actually run the app under .NET 6, do you agree?
Sign in to comment -