Link to home
Start Free TrialLog in
Avatar of NewMom2Brandon
NewMom2Brandon

asked on

Need help with adding XML file to project

Is there a way to add a XML file to your project but not have it listed in the project. (not do file/add new item/xml

What I need is to just have a XML file show up in the bin with the exe after the project is built.

I hope this make sense

ASKER CERTIFIED SOLUTION
Avatar of existenz2
existenz2
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tpwells
tpwells

I believe existenz2 is right.

If you are wanting a default xml file to be in the bin when you run your program, you code your program to create the file if it does not exist.

What are you trying to do with the xml that it can not be part of your project list?
Avatar of NewMom2Brandon

ASKER

so then I probably should do a app.config file then
If it is a config file you definatly need to add it to the solution! Saves you lots of time and you don't want to loose the config file when the project/solution gets moved around in you company servers!
yes if what the file is for is to set application properties and settings that is the preferred file
Thank you! I think I will just go ahead and add the xml file into the project instead.