Anthony Wieser
2010-05-13 09:37:01 UTC
I've just downloaded the trial version of VS2010 pro with a view to
upgrading, loaded up one of my existing projects, and (fingers crossed)
pressed the build button.
Unfortunatley, I've fallen at the first hurdle.
My project includes an HTML help workshop hhp file, to build it's CHM file,
and that is built as a custom build step, like this:
hhc.exe .\hlp\%(Filename).hhp
Unfortunately, hhc.exe returns an error code of 1 when it works, resulting
in the following MSBUILD error:
1>C:\Program
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error
MSB6006: "cmd.exe" exited with code 1.
That error is contained here:
<CustomBuild
Sources ="@(CustomBuild)"
BuildSuffix ="$(BuildSuffix)"
TrackerLogDirectory ="%(CustomBuild.TrackerLogDirectory)"
MinimalRebuildFromTracking
="%(CustomBuild.MinimalRebuildFromTracking)"
TLogReadFiles ="@(CustomBuildTLogReadFiles)"
TLogWriteFiles ="@(CustomBuildTLogWriteFiles)"
TrackFileAccess ="$(TrackFileAccess)"
ToolArchitecture ="$(CustomBuildToolArchitecture)"
TrackerFrameworkPath ="$(CustomBuildTrackerFrameworkPath)"
TrackerSdkPath ="$(CustomBuildTrackerSdkPath)"
AcceptableNonZeroExitCodes
="%(CustomBuild.AcceptableNonZeroExitCodes)"
</CustomBuild>
I've searched for AcceptableNonZeroExitCodes but can't find anything to
enlighten me on how to accept 1 as a valid code.
Any ideas?
upgrading, loaded up one of my existing projects, and (fingers crossed)
pressed the build button.
Unfortunatley, I've fallen at the first hurdle.
My project includes an HTML help workshop hhp file, to build it's CHM file,
and that is built as a custom build step, like this:
hhc.exe .\hlp\%(Filename).hhp
Unfortunately, hhc.exe returns an error code of 1 when it works, resulting
in the following MSBUILD error:
1>C:\Program
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error
MSB6006: "cmd.exe" exited with code 1.
That error is contained here:
<CustomBuild
Sources ="@(CustomBuild)"
BuildSuffix ="$(BuildSuffix)"
TrackerLogDirectory ="%(CustomBuild.TrackerLogDirectory)"
MinimalRebuildFromTracking
="%(CustomBuild.MinimalRebuildFromTracking)"
TLogReadFiles ="@(CustomBuildTLogReadFiles)"
TLogWriteFiles ="@(CustomBuildTLogWriteFiles)"
TrackFileAccess ="$(TrackFileAccess)"
ToolArchitecture ="$(CustomBuildToolArchitecture)"
TrackerFrameworkPath ="$(CustomBuildTrackerFrameworkPath)"
TrackerSdkPath ="$(CustomBuildTrackerSdkPath)"
AcceptableNonZeroExitCodes
="%(CustomBuild.AcceptableNonZeroExitCodes)"
</CustomBuild>
I've searched for AcceptableNonZeroExitCodes but can't find anything to
enlighten me on how to accept 1 as a valid code.
Any ideas?
--
Anthony Wieser
Wieser Software Ltd
Anthony Wieser
Wieser Software Ltd