Rajaat Posted September 11, 2003 Posted September 11, 2003 I would like to automate compilation of a number of solutions I have. Each solution contains a number of projects. Ideally I would like to be able to compile all those solutions in an order I specify late at night when the computer is not in use. I'm trying to set up daily builds. Does anyone know if this is possible and how to go about it? If I could some how compile the solutions via command line then I know I could easily add a scheduled task to compile them when I want to. Thanks! --Rajaat Quote
*Gurus* Derek Stone Posted September 11, 2003 *Gurus* Posted September 11, 2003 Get NAnt and schedule one of its build scripts using the Windows Task Scheduler. Quote Posting Guidelines
Rajaat Posted September 11, 2003 Author Posted September 11, 2003 Thanks, but I needed find a way to automatically build preexisting Visual Studio .NET solutions (*.sln files). I did some digging and devenv.com, a tool provided by Visual Studio .NET, will build my *.sln solution files. I just created a *.cmd batch file to loop through all the solution files and scheduled it with Windows Task Scheduler. Thanks again! Quote
Rajaat Posted September 11, 2003 Author Posted September 11, 2003 devenv.com will build all the C++ projects in those solutions. I also have a number of VB and C# projects, but those are not built. Although this has not fixed everything I am building 34 projects out of about 40. Not bad! Any suggestions on how to cover those VB and C# projects would be appreciated. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.