Reputation: 14720
By default ClickOnce will include all .xml files as data files. This results in the xml files are deployed in a data directory and not in the application directory.
Is there a way to generate the manifest from MSBuild/Mage that will include xml files as application files viz., not add the writeable="applicationData" attribute.
Upvotes: 2
Views: 1634
Reputation: 8098
You could try adding the XML files to the project and within their properties change:
[DELETED]
EDIT: Here's the information on changing the publish status of the file (with some modifications):
With a project selected in Solution Explorer, on the Project menu, click Properties.
Click the Publish tab.
Click the Application Files button to open the Application Files dialog box.
In the Application Files dialog box, select the XML file.
In the Publish Status field, select Include from the drop-down list.
Upvotes: 2