简体   繁体   English

我可以将我的 .net 4.8 webforms webapp 升级到 .net 5.0 吗?

[英]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.我在 Framework 4.8 上有一个中型 Web 应用程序项目。 It has Webforms and MVC (and webapi) in it.它包含 Webforms 和 MVC(和 webapi)。 I am confused by the recent 5.0 announcements that seem to indicate that everything should now be 5.0.我对最近的 5.0 公告感到困惑,这些公告似乎表明现在一切都应该是 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.下载新的 SDK 和 Visual Studio 16.8 preview4 后,我仍然无法在其设置中更改主 webapp 项目的目标框架。 Am I missing a step?我错过了一步吗? Can I upgrade my .net 4.8 app to 5.0?我可以将我的 .net 4.8 应用程序升级到 5.0 吗?

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. .NET 5 中不包含 Web 窗体。如果要升级到 .NET 5,则必须从应用程序中删除 Web 窗体。

Rich Lander (Program Manager on the .NET team at Microsoft) explicitly pointed this out on Twitter . Rich Lander(Microsoft .NET 团队的项目经理)在 Twitter 上明确指出了这一点 Rich Lander 的屏幕截图,通过 Twitter 表示 Web Forms 不会出现在 .NET 5 中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在我的 ASP.NET 网络表单应用程序中启用密码眼? - How can I enable the password eye in my ASP.NET webforms application? 我可以在自己的用户数据库中使用ASP.NET WebForms中的成员资格提供程序吗? 如果是这样,怎么办? - Can I use the Membership provider in ASP.NET WebForms with my own User database? If so, how? 如何让我的自定义用户控件接受ASP.NET WebForms中的属性列表? - How can I let my custom user control accept a list of properties in ASP.NET WebForms? 我的ASP.NET MVC4项目中可以有一个文件夹是Webforms项目吗? - Can I have a folder in my ASP.NET MVC4 project that is a webforms project? 如何将Perl与ASP.NET Webforms集成? - How can I integrate Perl with ASP.NET Webforms? 为什么我不能在asp.net webforms中这样做? - Why can't I do this in asp.net webforms? 如何防止Asp.net Webforms中的XSS攻击? - How can I prevent XSS attack in Asp.net Webforms? 如何检查Asp.Net WebForms会话大小 - How can I inspect Asp.Net WebForms session size 如何在ASP.Net WebForms的DataField上强制执行toUpper? - How can I enforce toUpper on a DataField in ASP.Net WebForms? 如何在ASP.NET WebForms中以HttpRequestBase的形式访问请求? - How can I access the request as HttpRequestBase in ASP.NET WebForms?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM