Compile a .net project using Command Line

cutecupid
cutecupid used Ask the Experts™
on
I have a .net project and Need to compile / build the solution file using command line. Pls help me on the same.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Is it the project or the solution?

For the project you call devenv.exe with the Build flag as follows:


C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe your_project.**proj /build

for the solution you call MSBuild:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe your_solution

check out the documentation for the various command line options to each.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial