I want to associate a text or xml file with my project. So when the applications gets published this text file should tag along. How do you do this in visual studio?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Normally I’d just add the file to the project, set the
Build ActiontoContentandCopy to Output directorytoAlways Copy. I don’t normally publish projects though (I just copy the files) but I’d assume this would still be the correct way.