更改我的C#项目的版本框架 [英] Change version Framework of my C# project

查看:453
本文介绍了更改我的C#项目的版本框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以将Framework 4的版本更改为3.5吗?

Can i change version of Framework 4 to 3.5?

推荐答案

是的。但是,如果您的代码在.Net 4.0中使用了任何新内容,您可能会发现一些编译问题,在这种情况下,您将不得不更改代码或返回.Net 4。
Yes. However, you may find some compilation issues if your code was using anything new in .Net 4.0 in which case you will have to change the code or go back to .Net 4.


右键单击您在Visual Studio中的项目 - >属性 - >应用程序选项卡,您可以从那里将目标框架更改为您想要的任何内容。请注意,如上所述,并非.Net 4.0中的所有内容都可用于3.5。
Right click your project in Visual Studio -> Properties -> Application tab, from there you can change the "Target framework" to whatever you want. Be aware, as mentioned above, not all things in .Net 4.0 are available in 3.5.


这篇关于更改我的C#项目的版本框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆