通过Visual Studio 2010定位.NET Framework 4.5 [英] Targeting .NET Framework 4.5 via Visual Studio 2010

查看:134
本文介绍了通过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天全站免登陆