473,411 Members | 1,918 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Moving files to bin folder.

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
2 1247
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
* 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Stephen Ghelerter | last post by:
I am moving a web site with a MySql database to another server. Can I create a database on the new server with the same name and then move the tables there, or is life not that simple? Or can I...
0
by: Terry | last post by:
I am trying to move a datbase from one machine to another. I have tried two different methods and neither are working. First I tried using : >> mysqldump dbName > backup_file.sql >> mysql...
3
by: nate | last post by:
I created a performance evaluation for our employees on our web server in a folder called 'performanceEval'. Now I wanted to create a slightly modified version for supervisors. I made a new folder...
1
by: Hubert Wong | last post by:
Hi, I am writing some C# code that moves files from a source folder to a target folder on the same machine. However, if the target folder is a shared folder, using the File.MoveTo method alone...
6
by: Tim | last post by:
I am in the process of moving a site from one hosting company to another. This site is fairly large, with hundreds of asp files, each with multiple "include" statements. The new host has a...
5
by: Jim Heavey | last post by:
Hello, I am trying to figure out how to put my application onto the server. I am deploying to a Windows 2000 Server When I bring up Internet Services Manager and navigate to the Default Web...
5
by: Ron Weldy | last post by:
In moving a ASP.NET site from a W2K IIS5 server to a new W2K3 IIS6 server, we are having trouble with what appears to be ASP.NET server side includes in the .shtml files. I did not set up the old...
8
by: John Dann | last post by:
Just getting started with VB2005 and unsure how best to move active VB2003 projects into the VB2005 environment. Nornally I've versioned my VB2003 projects at specific development points by...
4
by: Martin | last post by:
Hi! How do I move a project (all sources) to a different location. Currently it is located in 'My Documents', but I would like to move it to a directory on the server. When I try the "Save As..."...
2
Tig201
by: Tig201 | last post by:
I am trying to go through the files in a folder and rename them but I am getting the error "Run-Time Error 5: Invalid procedure call or argument" on this bit of code Dim myFileSysObj As New...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.