Target Version of the .NET Framework does not match Launch Condition

后端 未结 6 793
轮回少年
轮回少年 2021-02-01 02:06

I have a c# project that I am building in VS 2010. It references a C++ project through COM, which is also a part of the solution. Last Friday, I made a successful build, changed

6条回答
  •  梦谈多话
    2021-02-01 03:02

    Even after setting the framework version and Setup project prerequisites in all the places mentioned above. The error continued to appear. I then looked in the setup project file and saw the previous NET framework version was still mentioned under the Configurations/Debug section, so in Visual Studio I set the compile mode back to Debug, repeated the same changes and that cleared the error for me.

提交回复
热议问题