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

LVL 2
NewMom2BrandonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

existenz2Commented:
That is not possible as far as I know. Since it is content which you want to at, i am in the opinion that you actually should add it to the solution since it's a part of the solution. You should keep all the stuff together.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tpwellsCommented:
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?
NewMom2BrandonAuthor Commented:
so then I probably should do a app.config file then
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

existenz2Commented:
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!
tpwellsCommented:
yes if what the file is for is to set application properties and settings that is the preferred file
NewMom2BrandonAuthor Commented:
Thank you! I think I will just go ahead and add the xml file into the project instead.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.