build script

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
 
S

Scott M.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top