且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将.net2.0迁移到.net 4.0

更新时间:2022-06-24 01:24:00

只需在属性中更改目标框架即可:

在解决方案资源管理器中右键单击您的项目.
从下拉列表中选择属性"
在应用程序"选项卡中,选择目标框架"下拉列表.
选择您想要的版本.
保存属性,然后重新构建.
Just change the target framework in the properties:

Right click your project in the Solution Explorer.
Select "Properties" from the drop down
In the "Application" tab, select the "Target Framework" dropdown.
Pick the version you want.
Save the properties, and re-build.