的Visual Studio 2012项目将无法在2010年开 [英] Visual Studio 2012 project won't open in 2010

查看:197
本文介绍了的Visual Studio 2012项目将无法在2010年开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个分配游戏在Visual Studio 2012和2010的用途,我的大学,它不会打开!它提到一些有关.NET框架4.5。我怎样才能将我的项目,所以它会在2010年开?我需要尽快解决这。

I've created a game for an assignment in Visual Studio 2012 and the university I'm at uses 2010 and it won't open! It mentions something about NET Framework 4.5. How can I convert my project so it will open in 2010? I need to sort this ASAP.

推荐答案

这需要三步:

第1步

在文本编辑器和变更

 Microsoft Visual Studio Solution File, Format Version 12.00

 Microsoft Visual Studio Solution File, Format Version 11.00

第2步

在文本编辑器和更改打开应用程序配置文件(App.config中)

Open application configuration file (App.config) in a text editor and change

sku=".NETFramework,Version=v4.5"

sku=".NETFramework,Version=v4.0"

第3步

打开项目文件(C#语言的.csproj)在文本编辑器和变更

Open project file (for C# language .csproj) in a text editor and change

<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>

<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>

现在在VS 2010中享受你的项目!

Now enjoy your project in VS 2010 !

这篇关于的Visual Studio 2012项目将无法在2010年开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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