Clickonce deployment and XML Files at Runtime

  • Thread starter Thread starter robin9876
  • Start date Start date
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?
 
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".
 
Back
Top