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

Re: Recompiling samples via command-line by Ken

Ken
Sat Jan 24 13:39:10 CST 2004

Hi,

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxgrfcommandlineswitches.asp

Ken
--------------------------
"Iulian Ionescu" <anonymous@discussions.microsoft.com> wrote in message
news:8D414DEA-6663-4DC0-BA25-5B779E7F753B@microsoft.com...
> 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
>



Re: Recompiling samples via command-line by Jon

Jon
Sat Jan 24 14:39:45 CST 2004

Iulian Ionescu <anonymous@discussions.microsoft.com> wrote:
> 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?

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too