0

Currently, the way I check to see if my solution builds is to make a new checkout, open it in VS, and build it. This is pretty slow, I imagine there's a way to do this via the command line or batch file, and build the files in the trunk, instead of checking out a new copy.

Any help here would be appreciated, will make my life easier, thanks!

sooprise
  • 22,657
  • 67
  • 188
  • 276

1 Answers1

2

Give this a look. The general gist is using MSBuild.

Community
  • 1
  • 1
Prisoner
  • 27,391
  • 11
  • 73
  • 102
  • Hi, MSBuild takes an eternity to run on my solution. I just point it to my .sln, and it's still running (has been a few minutes already!). Maybe I'm doing something wrong? – sooprise Mar 25 '11 at 14:57
  • 3
    If VS is slow, and MSBuild is slow, my thoughts are that this is either a HUGE solution, or you have very costly pre/post-build operations. If you just want to see that source code compiles, try creating a build configuration that only compiles source; no installer, no publishing, no XCOPY, just source. – KeithS Mar 25 '11 at 15:03