通过 Visual Studio 2010 面向 .NET Framework 4.5 [英] Targeting .NET Framework 4.5 via Visual Studio 2010

查看:31
本文介绍了通过 Visual Studio 2010 面向 .NET Framework 4.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我在我的机器上安装了 .NET Framework 4.5,希望能够从 Visual Studio 2010 使用它,因为它只是一个小更新,不会对 Visual Studio 2010 造成问题.不幸的是我不是,即使手动删除某些 4.0 并添加相应的 4.5 程序集导致项目中仍然引用原始 4.0 程序集.

Today I installed the .NET Framework 4.5 on my machine expecting to be able to use it from Visual Studio 2010, since it's just a minor update that should't pose problems for Visual Studio 2010. Unfortunately I am not, even manually removing certain 4.0 and adding the corresponding 4.5 assemblies resulted in the original 4.0 assemblies still being referenced in the project.

是否可以从 Visual Studio 2010 定位到 4.5 版?如果是,如何定位?我真的很想使用丝带...

Is it possible to target version 4.5 from Visual Studio 2010 and if yes, how? I'd really like to use the ribbons...

推荐答案

Visual Studio 2010 之前的每个版本的 Visual Studio 都与特定的 .NET 框架相关联.(VS2008 是 .NET 3.5,VS2005 是 .NET 2.0,VS2003 是 .NET1.1)Visual Studio 2010 及更高版本允许针对先前的框架版本,但不能用于未来版本.您必须使用 Visual Studio 2012 才能使用 .NET 4.5.

Each version of Visual Studio prior to Visual Studio 2010 is tied to a specific .NET framework. (VS2008 is .NET 3.5, VS2005 is .NET 2.0, VS2003 is .NET1.1) Visual Studio 2010 and beyond allow for targeting of prior framework versions but cannot be used for future releases. You must use Visual Studio 2012 in order to utilize .NET 4.5.

这篇关于通过 Visual Studio 2010 面向 .NET Framework 4.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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