View Single Post
  #8  
Old 06-05-2006, 04:54 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
Yes, you can pass macro values on the command-line (see the link above or the commented out code in the sample), and you can also specify the logfile to write to via the command-line. As far as reading the log file (I'm not sure what your question is regarding the log file), you would have to poll that manually or read the stdout of the console app.

I'm still not convinced that using the object model is the best approach for this (mainly due to potential timeouts waiting for the build to complete), but we could add some properties to the VBP object model to specify a username/domain/password for all processes that it creates to run under, and have it internally call CreateProcessWithLogonW in that case, allowing your ASP.NET code to read the credentials from web.config and set them on the VBP application object before starting the build.
Reply With Quote