Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   BuildDone (https://www.kinook.com/Forum/showthread.php?t=1695)

realtytrac 04-20-2006 04:25 PM

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");
}

realtytrac 04-20-2006 05:23 PM

I also want to add another question. Is it possible to run the builder.Start synchronously?

kinook 04-20-2006 05:25 PM

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.


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


Copyright © 1999-2023 Kinook Software, Inc.