Using a macro OnBuild to copy files to \Bin directory

  • Thread starter Thread starter Matthew
  • Start date Start date
M

Matthew

I need to develop a macro that upon building a project in VB.NET will
copy a configuration file from the project directory to the \Bin
directory. Based upon the active build configuration, the macro will
determine the correct configuration file to copy and the correct \Bin
directory to copy it to. Has anyone else done anything like this?

Thanks.

Matt
 
* (e-mail address removed) (Matthew) scripsit:
I need to develop a macro that upon building a project in VB.NET will
copy a configuration file from the project directory to the \Bin
directory. Based upon the active build configuration, the macro will
determine the correct configuration file to copy and the correct \Bin
directory to copy it to. Has anyone else done anything like this?

Isn't that done automatically for 'App.config' in VS.NET 2003? Or are
you using custom configuration files?
 
Yes, this is based on using different config files based on the build
configuration selected.
 

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

Back
Top