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".
--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog:
http://bphillips76.spaces.live.com
"(E-Mail Removed)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed):
> 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?