Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-20-2006, 04:25 PM
realtytrac realtytrac is online now
Registered User
 
Join Date: 04-17-2006
Posts: 16
BuildDone

I am using the BuildDone event so that i may inform my users that the build has been completed. My problem is that i see that sometimes the build will complete without invoking this event, and sometimes it will invoke the event. Is there a reason why it is haphazard? This is my code:

builder.BuildMessage += new BuilderEvents_BuildMessageEventHandler(builder_Bui ldMessage);
builder.BuildDone += new BuilderEvents_BuildDoneEventHandler(builder_BuildD one);
builder.Initialize(x);
builder.Start(StepTypeEnum.vbldStepMain,0,0);

private void builder_BuildMessage(string message)
{
this.message += message;
}

private void builder_BuildDone(BuildCompletionStatusEnum Status)
{
Server.Transfer("http://www.cnn.com");
}
Reply With Quote
  #2  
Old 04-20-2006, 05:23 PM
realtytrac realtytrac is online now
Registered User
 
Join Date: 04-17-2006
Posts: 16
I also want to add another question. Is it possible to run the builder.Start synchronously?
Reply With Quote
  #3  
Old 04-20-2006, 05:25 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
I'm not able to reproduce that. Could you tweak the CSharpClient sample at Samples\ObjectModel\CSharpClient to reproduce the problem and ZIP and send or post it? Also include the info from Help | About | Install Info. Thanks.

That sample demonstrates asynchronous and synchronous builds via the object model.
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 08:13 AM.


Copyright © 1999-2023 Kinook Software, Inc.