The project type is not supported by this installation

后端 未结 15 716
故里飘歌
故里飘歌 2020-12-02 09:00

Whenever I try to open a project (csproj) that\'s downloaded from the internet, most of the times, I get the

\"The project type is not s

15条回答
  •  感动是毒
    2020-12-02 09:21

    As a addition to this, 'the project type is not supported by this installation' can occur if you're trying to open a project on a computer which does not contain the framework version that is targeted.

    In my case I was trying to open a class library which was created on a machine with VS2012 and had defaulted the targeted framework to 4.5. Since I knew this library wasn't using any 4.5 bits, I resolved the issue by editing the .csproj file from v4.5 to v4.0 (or whatever is appropriate for your project) and the library opened.

提交回复
热议问题