如何在visual studio 3013项目中将目标框架更改为4.5? [英] How do I change target framework to 4.5 in visual studio 3013 project?

查看:388
本文介绍了如何在visual studio 3013项目中将目标框架更改为4.5?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在visual studio 2013中有一个visual studio解决方案,我正在使用目标框架4.5添加我的项目,但是当项目添加并转到其属性时,我发现目标框架是3.5并且没有其他框架。

如何添加更多框架并将旧项目迁移到4.5?

I have a visual studio solution in visual studio 2013 and I am adding my projects using target framework 4.5 but when the project added and go to its properties I found the target framework is 3.5 and there is no other frameworks.
How to add more frameworks and migrating the old projects to 4.5?

推荐答案

您可以在解决方案中打开属性文件。



在该新页面中,您可以在该选项卡中查找应用程序选项卡,其中包含项目的设置。在那里,您可以为应用程序设置目标框架,所有已安装的框架都将列在那里,从中进行选择。



。对于我的项目,这是设置: HTTP:/ /s21.postimg.org/p2yt03snb/Screenshot_102.png [ ^ ]你可以按照这些作为一般例子进行编辑。



记住:.NET Framework 4.5 必须在您的系统上安装以便运行和使用它,否则您无法在第4.5版中测试应用程序的行为。
You can open the Properties file in the Solution.

In that new page, you can look for Application tab in that tab there are settings for your project. There you can set the target framework for your application, all of the installed Frameworks would be listed there, choose from them.

For my project, this was the setting: http://s21.postimg.org/p2yt03snb/Screenshot_102.png[^] you can follow these as general example and edit yours.

Remember: .NET Framework 4.5 must be installed on your system in order to run and use that, otherwise there is no other option for you to test your application's behaviour in 4.5th version.


这篇关于如何在visual studio 3013项目中将目标框架更改为4.5?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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