Clickonce deployment and XML Files at Runtime

R

robin9876

In a windows form application that is deployed using the clickonce
method, the application needs to load a XML file at runtime.
How can the XML file be deployed and then is referenced in code at
runtime?
 
B

Bryan Phillips

On the publish tab of the project's properties, add the XML file to the
list of published files and set the XML file to be "Required" instead of
"Auto".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top