简体   繁体   English

将MVC 5 Web解决方案从.net Framework 4.5升级到4.6

[英]Upgrade MVC 5 web solution from .net framework 4.5 to 4.6

I have a ASP.NET MVC 5 solution that contains 6 projects. 我有一个包含6个项目的ASP.NET MVC 5解决方案。 These projects are targeted against the .net framework version 4.5. 这些项目针对.net框架版本4.5。 I want to update this so they target version 4.6. 我要更新此文件,以便它们以4.6版为目标。

I'm looking for a definitive list of steps I need to carry out to achieve this as there seems to be various opinions about what needs doing. 我正在寻找实现此目标所需执行的明确步骤,因为对于需要执行的操作似乎存在各种意见。

As well as changing the projects to target 4.6 in the application section of each projects properties and updating nuget packages to their latest version, is there anything else I need to do? 除了在每个项目属性的“应用程序”部分中将项目更改为目标4.6并将nuget软件包更新为最新版本外,我还需要做其他事情吗?

Regards Macca 问候麦加

Also check your nuget packages to see are they compliant with new .net version or not. 还要检查您的nuget软件包,以查看它们是否与新的.net版本兼容。 In some cases you need to update them. 在某些情况下,您需要更新它们。 Also check your other third party references or tools to see are they compatible or not. 另外,请检查您的其他第三方参考或工具,以了解它们是否兼容。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM