“This project is incompatible with the current version of Visual Studio”

前端 未结 15 1350
猫巷女王i
猫巷女王i 2020-12-09 00:34

I was getting the below message from Visual Studio 2010.

\"This project is incompatible with the current version of Visual Studio\"

15条回答
  •  借酒劲吻你
    2020-12-09 01:08

    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, 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.

提交回复
热议问题