build script

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I would like to create a script (.bat file) so that I can right-click on a
..sln file and have the extra option "Build" in the menu so that I can execute
a build without opening the solution in visual studio.

The bat file would be sth. like :

echo Building solution...
devenv /build debug > build.log

But how can i specify in this script that it should take the selected .sln
file?

thanx,
t
 
Well, .bat files went the way of the do-do a long time ago (and were not
script files, per se). You might want to look into using .vbs files in
conjunction with the Windows Scripting Host though.
 
Back
Top