The error “This project is incompatible with the current version of visual studio” displayed

后端 未结 10 1190
别跟我提以往
别跟我提以往 2020-12-30 22:34

I installed Vs 2010 Express in my PC, and created a poject named myproject with .net 4.0, it works well in Vs 2010 Express.

Now I installed Vs 2012 Express in my

10条回答
  •  太阳男子
    2020-12-30 23:20

    If the message "This project is incompatible with the current version of Visual Studio" is due to an attempt to open a project targeting .Net 4.5 with Visual Studio 2010, then the "solution" or workaround is to edit the .csproj file and change the TargetFrameworkVersion from "v4.5" to "v4.0". That at least allows the project to be loaded, although it may result in compiler errors if the program is dependent on 4.5 features.

提交回复
热议问题