Can I upgrade my .net 4.8 webforms webapp to .net 5.0?

I have a medium-sized Web Application project on Framework 4.8. It has Webforms and MVC (and webapi) in it. I am confused by the recent 5.0 announcements that seem to indicate that everything should now be 5.0. After downloading the new SDK, and Visual Studio 16.8 preview4, I am still not able to change the target framework of my main webapp project in its settings. Am I missing a step? Can I upgrade my .net 4.8 app to 5.0?

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

Web Forms is not included in .NET 5. You will have to eliminate Web Forms from your application if you want to upgrade to .NET 5.

Rich Lander (Program Manager on the .NET team at Microsoft) explicitly pointed this out on Twitter.
Can I upgrade my .net 4.8 webforms webapp to .net 5.0?


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x