473,396 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Custom error reporting from OnBuildProjConfigDone

Hi,

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.

Thanks,
Ady.

Jul 22 '05 #1
0 1102

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: xAvailx | last post by:
I apologize ahead of time for the long post... Background: Working on a CRM type custom application. The application is for an event management company. The company will provide the application...
8
by: Spartanicus | last post by:
The document at http://homepage.ntlworld.com/spartanicus/custom_dtd.htm uses a custom DTD, the w3c validator validates it but with this warning: "Unknown Parse Mode! The MIME Media Type...
6
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html...
0
by: audipen | last post by:
Hi, 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" ...
1
by: andy_from_fl | last post by:
I created a custom business object from the ground up- I applied the data binding interfaces, coded every property by hand, custom constructors, the whole deal. I wanted the columns to appear in a...
2
by: T McDonald | last post by:
I've been having a problem writing to an event to the Application log. I believe the issue is caused by the fact that the source was previously both a custom log and the source. I deleted the...
8
by: Ibrahim. | last post by:
Hello, I want to build a custom reporting engine in .NET. Wht are the consideration and I need to provide the user design facilty at run time. Thanks,
3
by: Paul Cheetham | last post by:
Hi, I have created a custom error page for my web application (c#, .Net 2) In this page I am trying to get the details of the error that has occurred so that I can display it if required. ...
0
by: Mythran | last post by:
I have a macro that handles the OnBuildProjConfigDone event for the BuildEvents class. The execution of my code freezes the IDE for an extended period of time, and I wish to allow the user to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.