Monday, February 21, 2011

Rebuild solution in vs2008 without visual studio?

How can we Rebuild solution in vs2008 without visual studio?

From stackoverflow
  • Not sure I fully understand the question, but you can run MSBuild from the command line to rebuild most projects in a solution.

    MSBuild.exe Path\To\Solution.sln /t:Rebuild /p:Configuration=Release
    

    If you don't run from the Visual Studio command prompt, you can find MSBuild.exe for .NET 3.5 under

    • %FrameworkDir%\%Framework35Version% or
    • C:\Windows\Microsoft.NET\Framework\v3.5
    slugster : +1, you can invoke MSBuild directly on any project file, although you might have to make a customised MSBuild targets file or project file to replace the solution file. MSBuild is part of the .Net framework, so no VS is required.

0 comments:

Post a Comment