473,480 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

BuildIt tool: How can I get a build error description?

I have been trying to automate our builds using BuildIt
tool available from Microsoft. This tool only log whether
build is success or fail. Since all developers would like
to see what the build error descriptions are, I need to
add it to the source code. However, SolutionBuild object
don't have that property available. Is it even possible to
get that information? What should I do in order to get an
error description?
Thanks in advance.

Eric
Jul 21 '05 #1
3 1872
I've never used that tool, but why not try something more powerful, like
NAnt? http://nant.sourceforge.net/
--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

"Eric Chong" <ec********@hotmail.com> wrote in message
news:06****************************@phx.gbl...
I have been trying to automate our builds using BuildIt
tool available from Microsoft. This tool only log whether
build is success or fail. Since all developers would like
to see what the build error descriptions are, I need to
add it to the source code. However, SolutionBuild object
don't have that property available. Is it even possible to
get that information? What should I do in order to get an
error description?
Thanks in advance.

Eric

Jul 21 '05 #2

"Klaus H. Probst" <us*******@vbbox.com> wrote in message
news:eY**************@TK2MSFTNGP12.phx.gbl...
I've never used that tool, but why not try something more powerful, like
NAnt? http://nant.sourceforge.net/


Oh wow, never mind. I just realized what this thing is.
--
klaus
Jul 21 '05 #3
Hi Eric,

right after the lines in the BuildSolutionConfig

while(solutionBuild.BuildState != vsBuildState.vsBuildStateDone);

where we wait for the build to finish. You can grab the output from the
output pane. Here is a quick macro that you can translate into C#.
Sub BuildWindowText()
Dim outputWin As OutputWindow
Dim outputWinPane As OutputWindowPane
Dim outputWinPaneTxtDoc As TextDocument
outputWin =
DTE.Windows.Item(EnvDTE.Constants.vsWindowKindOutp ut).Object
outputWinPane =
outputWin.OutputWindowPanes.Item("{1BD8A850-02D1-11D1-BEE7-00A0C913D1F8}")
outputWinPaneTxtDoc = outputWinPane.TextDocument

MsgBox(outputWinPaneTxtDoc.StartPoint.CreateEditPo int().GetText(outputWinPan
eTxtDoc.EndPoint))
End Sub

Instead of a msgbox, you can look at some other reporting mechanism.

I hope that helps.

Thanks!
Mike Wong
Microsoft Developer Support
--------------------
Content-Class: urn:content-classes:message
From: "Eric Chong" <ec********@hotmail.com>
Sender: "Eric Chong" <ec********@hotmail.com>
Subject: BuildIt tool: How can I get a build error description?
Date: Tue, 2 Dec 2003 16:27:18 -0800
Lines: 11
Message-ID: <06****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
thread-index: AcO5NDWUxyNzmfucTqiT5l91akPTgg==
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:117239
NNTP-Posting-Host: tk2msftngxa09.phx.gbl 10.40.1.161
X-Tomcat-NG: microsoft.public.dotnet.general

I have been trying to automate our builds using BuildIt
tool available from Microsoft. This tool only log whether
build is success or fail. Since all developers would like
to see what the build error descriptions are, I need to
add it to the source code. However, SolutionBuild object
don't have that property available. Is it even possible to
get that information? What should I do in order to get an
error description?
Thanks in advance.

Eric


Jul 21 '05 #4

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

Similar topics

0
1958
by: Serge calderara | last post by:
Dear all, I just discover that we can build a quite good lilbrary documentation using the tool Build Commnet Web page integarted in .Net, especially if we are many developper working on a...
2
1515
by: Ann | last post by:
I have recently installed VC++ 6.0. When I create a new workspace and add .c and .h files, the IDE cannot find a build tool for .h files. Is there any other component that needs to be installed...
5
2417
by: Christopher Kowalski | last post by:
If you notice, most Microsoft objects include a comment in the tool-tip that shows up when using intelli-sense auto-completion that describes that property or method. How can I add such comments...
0
6173
by: Nalla | last post by:
Hi, I have a requirement to call webservices from my old C++ application.So first I tried with Vc++.net as follows.....There are 2 approach Dotnet frame work and soaptoolkit 3.0 I am not able to...
3
318
by: Eric Chong | last post by:
I have been trying to automate our builds using BuildIt tool available from Microsoft. This tool only log whether build is success or fail. Since all developers would like to see what the build...
5
1348
by: sh | last post by:
I am working on a database project, and I'm trying to think "objectively". Are there any tools that will map my "objects" to relational tables? I'd prefer a freebie, or something faily low-cost to...
10
1747
by: Gilles Ganault | last post by:
Hello I'm not an expert on RSS, and I'd like to find a tool to make it easy to create an RSS feed for a site whenever a new row is created in a MySQL database. Is there some PHP tool that...
3
3813
by: ups_genius | last post by:
Hi everyone! I created an error parser using the existing CDT stuff by basically copying some of the GNU / make / ... error parsers' code. I also added the extension point for the new error...
1
2147
by: okonita | last post by:
Hi all, I have a T-SQL FUNCTION that I am trying to convert to DB2 SQL function. I ran the code through IBM migration Tool but was unable to get a clean conversion. So okay, I ran the code...
0
6904
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
7076
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...
1
6732
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
6886
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...
0
4472
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2990
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1294
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
174
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.