Moving files to bin folder.

F

Frank Rizzo

When I add a configuration file (app.config) to a WinForms project, it
seems like the when I compile the app, vs.net copies the file into the
Bin/Release (or Bin/Debug) folder. How can I add an arbitrary XML file
(or something else) and have it copied to the Bin/Release folder as well?
 
L

Lucas Tam

How can I add an arbitrary XML file
(or something else) and have it copied to the Bin/Release folder as well?

Just add an XML file to your project, and ensure the Build Action of the
file is set to Content (Click on file, and look at the properties).
 

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

Top