Hello!
I'd like to build all of the .sln files contained within a directory tree.
I tried running:
ProcessStartInfo oStartInfo = new ProcessStartInfo();
oStartInfo.FileName = devenvPath;
oStartInfo.Arguments = " /build Debug " + solutionPath;
Process.Start(oStartInfo);
But this doesn't work...thinking it is the env. not being setup correctly...
I don't know how to run the vcvars.bat files and then build from a Process.Start.
Of course, UAC is a problem with making it silent...
Is there some better way to be doing this....
Do I create MSBUILD scripts? Automate VS with macros? Use CRUISECONTROL.NET or something?
What is the suggested way to quickly start automating builds using msbuild?
--Dave
http://dave.thehorners.com/