Reputation: 11975
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?
Upvotes: 0
Views: 85
Reputation: 54999
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.
Upvotes: 1