“the outputpath property is not set for this proje

2019-01-16 10:59发布

I have a multi project solution in Visual Studio 2008. I just added a new Configuration called Release-VersionIncrement to the solution, specifying "use release" configuration as baseline. All project files were updated with that configuration. However, when I am trying to compile a specific project using this configuration, I get the following error:

Error 5 The OutputPath property is not set for this project. Please check to make sure that you have specified a valid Configuration/Platform combination. Configuration='Release-VersionIncrement' Platform='AnyCPU' C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets 539 9 DataConversion

What's happening here? The project compiles fine in Release or Debug configuration.

25条回答
Explosion°爆炸
2楼-- · 2019-01-16 11:30

In my case the new "PropertyGroup" XML block was generated at the bottom of document. I've just replaced it after other "PropertyGroup" tags and this resolved the problem.

查看更多
登录 后发表回答