-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
My Visual Studio project has PreBuildEvents. I get errors when I have comments in the PreBuildEvent.
Error Message
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1063,5): error MSB3073: The command "REM -------------------------------------------- [C:\Jenkins\jobs\Test Git\workspace\Snap.csproj] C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1063,5): error MSB3073: " exited with code 4. [C:\Jenkins\jobs\Test Git\workspace\Snap.csproj]
If I remove these comments from the PreBuild event, it works.
If I build the project directly from Visual Studio (with PreBuild event comments), it works.
[JENKINS-32654] Build Fails when PreBuildEvent has "REM" comments
Description |
Original:
My Visual Studio project has PreBuildEvents. I get errors when I have comments in the PreBuildEvent. *+Error Message+* {code:java} C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1063,5): error MSB3073: The command "REM -------------------------------------------- [C:\Jenkins\jobs\Test Git\workspace\Snap.csproj] {code} If I remove these comments from the PreBuild event, it works. If I build the project directly from Visual Studio (with PreBuild event comments), it works. |
New:
My Visual Studio project has PreBuildEvents. I get errors when I have comments in the PreBuildEvent. *+Error Message+* {code:java} C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1063,5): error MSB3073: The command "REM -------------------------------------------- [C:\Jenkins\jobs\Test Git\workspace\Snap.csproj] C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1063,5): error MSB3073: " exited with code 4. [C:\Jenkins\jobs\Test Git\workspace\Snap.csproj] {code} If I remove these comments from the PreBuild event, it works. If I build the project directly from Visual Studio (with PreBuild event comments), it works. |
Resolution | New: Cannot Reproduce [ 5 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Workflow | Original: JNJira [ 168313 ] | New: JNJira + In-Review [ 209655 ] |
Sorry, but this was not a bug. The build was failing due to a COPY command in the build event that was looking for files that did not exist.