Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to edit a file in deployment folder when use ClickOnce deployment

Status
Not open for further replies.

igor22

Programmer
Sep 18, 2003
50
US
Hi,
I am using ClickOnce deployment to distribute my winform application. The application is installed on client’s machine gets auto-updates from the server if a newer version is available.
I have an xml file in my application where I store client preferences (database name, server name, so on…) When I do a built that xml file becomes part of the deployment folder (.deploy is added to the filename). The application works fine for the client which preferences I specified in the xml file.
But when I open that file from deployment folder and modify the preferences to use for another client (without recompiling the whole application) – the application fails.

Is there any other way to deploy the application to different clients with recompiling?

Thanks,
Igor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top