Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-06-2008, 12:01 PM
DuncanL DuncanL is offline
Registered User
 
Join Date: 07-26-2007
Posts: 29
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:
Failed to create the wrapper assembly for type library "Control". Did not find a registered ActiveX control in 'Control'.
0 Warning(s)
1 Error(s)
However, VisualBuild Pro merrily treated the build as successfully completed and carried on. I just happened to see the error and stop the build.

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?
Reply With Quote
  #2  
Old 03-06-2008, 12:12 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 10:07 AM.


Copyright © 1999-2023 Kinook Software, Inc.