#1
|
|||
|
|||
questions using the object model
I am writing a .NET application to interface with Visual Build using its API. I have been looking through the object model reference and it has been slightly helpful. If there is a place that has more details, please let me know.
one issue that i am currently having is that the object model reference says that the Project object has a Steps object. But when i reference the VisBuildSvr library in my .NET app, when i come to the Application.Project object, a Steps object does not exist. All the other objects (such as Scripts) exist, but that doesn't. Any reason why? Application x = new ApplicationClass(); x.Project.Load(@"C:\Working\RealtyTrac\Visual Build Scripts\SEOFactory-Build.bld"); x.Project.Steps[x.Project.FindStep("Get Latest SEOFactory",StepTypeEnum.vbldStepMain,-1)] //This line won't compile. Another issue i am having is building the project. I try the following code, but nothing happens: Application x = new ApplicationClass(); BuilderClass builder = new BuilderClass(); x.Project.Load(@"C:\Working\RealtyTrac\Visual Build Scripts\SEOFactory-Build.bld"); builder.Initialize(x); builder.Start(StepTypeEnum.vbldStepMain,1,0); |
Thread Tools | |
Display Modes | Rate This Thread |
|
|