Including other files in final build

  • Thread starter Thread starter Claire
  • Start date Start date
C

Claire

Hi, sorry I'm not sure if Im posting this to the correct group.

I need to include a couple of external applications to be copied to my
bin/debug folders at the same time as my solution is built. I'm not sure
if/how I can do this in vs .net 2003. These are older win 32 3rd party
applications that install firmware onto embedded handhelds. I run them from
my .net application when a user clicks a button.
I'd rather not do this manually but as part of a build.
Can it be done please?
 
Claire said:
Hi, sorry I'm not sure if Im posting this to the correct group.

I need to include a couple of external applications to be copied to my
bin/debug folders at the same time as my solution is built. I'm not sure
if/how I can do this in vs .net 2003. These are older win 32 3rd party
applications that install firmware onto embedded handhelds. I run them from
my .net application when a user clicks a button.
I'd rather not do this manually but as part of a build.
Can it be done please?

Hi,

Take a look at the project's properties -> Build Events. You can
specify a pre- and post-build action. You could, for example, write a
small bat-file to copy the necessary files into place and refer to it in
the pre- or post-build event (whichever is required). You can actually
do whatever you want to happen before or after the build phase.

hope this helps,
Benoit
 
Back
Top