Visual Studio 2012 project won't open in 2010

前端 未结 7 1323
不思量自难忘°
不思量自难忘° 2020-12-07 23:11

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

7条回答
  •  失恋的感觉
    2020-12-07 23:42

    It takes three step:

    Step 1

    Open solution file (.sln) in a text editor and change

     Microsoft Visual Studio Solution File, Format Version 12.00
    

    to

     Microsoft Visual Studio Solution File, Format Version 11.00
    

    Step 2

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

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

    to

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

    Step 3

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

    v4.5
    

    to

    v4.0
    

    Now enjoy your project in VS 2010 !

提交回复
热议问题