Recompiling samples via command-line

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

Guest

We wrote a class library and then we created aprox. 30 demo projects for both C# and VB. They all have the copy local set to true and it will be like that until the end of the development. So, everytime we change the library someone has to open each sample and recompile it or have a batch file copy the new version of the dll in the bin files. I wanted to create a batch file to run the command-line for the compiler for each project, so I was wondering how can I get a snapshot of the EXACT command line that VS.NET runs in the background while compiling a project?

Thank you,

iulian
 
Iulian Ionescu said:
We wrote a class library and then we created aprox. 30 demo
projectsfor both C# and VB. They all have the copy local set to true
and it will be like that until the end of the development. So,
everytime we change the library someone has to open each sample and
recompile it or have a batch file copy the new version of the dll in
the bin files. I wanted to create a batch file to run the command-line
for the compiler for each project, so I was wondering how can I get a
snapshot of the EXACT command line that VS.NET runs in the background
while compiling a project?

Why not just run

devenv /build <solution name>

etc and let VS.NET do it for you?
 
Back
Top