views:

14

answers:

1

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?

+1  A: 

Normally I'd just add the file to the project, set the Build Action to Content and Copy to Output directory to Always Copy. I don't normally publish projects though (I just copy the files) but I'd assume this would still be the correct way.

ho1