By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,041 Members | 1,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,041 IT Pros & Developers. It's quick & easy.

Moving files to bin folder.

P: n/a
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?
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Frank Rizzo <no**@none.com> wrote in news:uprMAU$gEHA.592
@TK2MSFTNGP11.phx.gbl:
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).

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 21 '05 #2

P: n/a
* Frank Rizzo <no**@none.com> scripsit:
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?


You can use an add-in to do that:

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

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.