The OutputPath property is not set for project

前端 未结 15 1562
无人及你
无人及你 2021-02-01 00:05

Building my Jenkins/MSBuild solution gives me this error

c:\\WINDOWS\\Microsoft.NET\\Framework\\v4.0.30319\\Microsoft.Common.targets(483,9): error : 
The OutputP         


        
15条回答
  •  渐次进展
    2021-02-01 00:50

    I had two project configs, Debug and Release. When the Release build was used, it was throwing this error. The issue I found was that in the csproj file, the Debug config was near the top and the Release config was all the way at the bottom.

    Manually moving the Release build just below the Debug build fixed it.

    I'm assuming I did something incorrectly when setting up my build configurations because this doesn't feel like something I should have had to manually adjust.

提交回复
热议问题