CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2002
    Posts
    5

    Question Command line build of C# Project

    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.

  2. #2
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    265
    You can invoke devenv.exe on the solution file to build it, like this:
    Code:
    devenv /build Debug MySolution.sln
    That will build a Debug version of MySolution.sln, without starting the IDE.

  3. #3
    Join Date
    May 2002
    Posts
    5

    Thumbs up

    Thank you very much. This is exactly what I was looking for, but couldn't locate it in the help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured