Click to See Complete Forum and Search --> : Command line build of C# Project


kkadali
June 17th, 2002, 01:34 PM
Hi Everyone,

I am looking for a way to build my CSharp Project from the command line. This project contains a Windows application with a lot of .cs and .resx files. I dont see any way to export a Makefile of some sort for this project from Visual Studio .NET. Any ideas?

Thanks,
Krishna.

Arild Fines
June 18th, 2002, 12:15 PM
You can invoke devenv.exe on the solution file to build it, like this:

devenv /build Debug MySolution.sln

That will build a Debug version of MySolution.sln, without starting the IDE.

kkadali
June 18th, 2002, 12:50 PM
Thank you very much. This is exactly what I was looking for, but couldn't locate it in the help.