471,354 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

Custom error reporting from OnBuildProjConfigDone


I trap the 'OnBuildProjConfigDone' and perform some custom enhancement
to the assembly. I check the 'bool Success' parameter before I perform
my step. I go ahead only if 'Success == true"

My question is - Is there any way in which I can indicate success or
failure of my post build step.. 'Success' is an in-parameter, so I cant
set it to false. Also the return type of the handler is void.

I want something other than reporting to the output window because I
need to automate certain tests.

If devenv.exe is spawned with a solution file and 'runexit' as
arguments...it rebuilds the projects in the solution and runs the
application. If there is a compilation error the exit code of the
process is 1, indicating failure. I want to return something similar to
indicate failure of my custom post build step.

Any help is appreciated.


Jul 22 '05 #1
0 1033

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by xAvailx | last post: by
6 posts views Thread by John Lau | last post: by
2 posts views Thread by T McDonald | last post: by
8 posts views Thread by Ibrahim. | last post: by
3 posts views Thread by Paul Cheetham | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.