Search code examples
c#.netbuildmsbuildsolution

build .net solution from batch file


I have a solution file comprising of 15 projects using a few third party dll references. I want to be able to build the solution from a batch file. What is the best way to do this?

Thanks


Solution

  • Run msbuild - for example:

    msbuild MySolution.sln /p:Configuration=Release /p:Platform="Any CPU"