The following link should show how to include files for publishing: http://msdn.microsoft.com/en-us/library/kzy0fky2(v=vs.80).aspx
Specifically:
Files with the Build Action property set to Content are designated as application files and will be marked as included by default; they can be included, excluded, or marked as data files. The exceptions are:
•Data files such as SQL Database (.mdf and .mdb) files and XML files will be marked as data files by default.
If you change the handling from Data File (Auto)
to Include
, Visual Studio should output it correctly.