Home All Groups Group Topic Archive Search About

Copy files after successful build

Author
27 Jun 2005 4:32 PM
Steve Amey
Hi all

Is it possible to copy certain files from the bin directory for a project
into another directory after a successful build using a VB.NET project?

My project compiles a dll and also copies a referenced file into the bin
folder, I want these 2 files going into a folder somewhere else, and I can't
be bothered manually copying the files all the time :o)

Regards,
Steve

Author
27 Jun 2005 4:41 PM
Jason Pettys
If you can find a more direct way that might be better, but you might
take a look at NAnt to do your builds.  It will do this and much, much
more.  This page talks about NAnt/VS.NET integration and might
indirectly give you the hooks into VS.NET that you could use to solve
your need directly.

http://nant.sourceforge.net/wiki/index.php/VSNETIntegrationViaMakefile

HTH and good luck.

Jason


Steve Amey wrote:
Show quoteHide quote
> Hi all
>
> Is it possible to copy certain files from the bin directory for a project
> into another directory after a successful build using a VB.NET project?
>
> My project compiles a dll and also copies a referenced file into the bin
> folder, I want these 2 files going into a folder somewhere else, and I can't
> be bothered manually copying the files all the time :o)
>
> Regards,
> Steve
>
>
Author
27 Jun 2005 7:51 PM
Herfried K. Wagner [MVP]
"Steve Amey" <stevea@_RemoveThis_centurion-ms.co.uk> schrieb:
> Is it possible to copy certain files from the bin directory for a project
> into another directory after a successful build using a VB.NET project?
>
> My project compiles a dll and also copies a referenced file into the bin
> folder, I want these 2 files going into a folder somewhere else, and I
> can't be bothered manually copying the files all the time :o)

<URL:http://www.google.de/groups?selm=%235qArBxxCHA.1580%40TK2MSFTNGP09>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>