#1
|
|||
|
|||
VS 2005 step "complete" with error
During a build today I noticed one of our projects build with an error. It is a Visual Studio 2005 VB .Net project and the problem was that a reference could not be resolved. The error was of the form:
Quote:
Any ideas why that might be and what we could do to make it return an error? I assume it's a Visual Studio issue rather than VBP? |
#2
|
|||
|
|||
The VBP Make VS.NET/2005 actions key success/failure off of the exit code of devenv/msbuild, so it appears to be returning 0 (success) here, which sounds like a (VS) bug if any project(s) failed to build.
You could try checking 'Parse build output for failed projects' on the Project/Solution, which will parse the output and fail if ", 0 failed" is not found (but this only works with devenv output and not msbuild). Alternatively, you could parse the output in the step's vbld_StepDone script event and fail the step if "<non-0> Error(s)" was found. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|