Microsoft ClickOnce Deployment Question

I want to deploy an application using ClickOnce technology. The application depends on the .xml file. The location of the .xml file is provided in the App.config file. This .xml file can be modified by the user. With ClickOnce, I only see the file (.appref-ms) downloaded. Is it possible to download dependent files that can be modified by users?

thank

+3
source share
3 answers

First, make sure you are looking for the right place for the files. Applications deployed with ClickOnce are not saved where you expect, unless you have done so before. See here: http://msdn.microsoft.com/en-us/library/267k390a.aspx

-, ( ). . : http://msdn.microsoft.com/en-us/library/d8saf4wy.aspx

. helful, . , . .

http://msdn.microsoft.com/en-us/library/kzy0fky2.aspx

+4

XML ClickOnce , , C/O ApplicationDeployment.CurrentDeployment.DataDirectory. ApplicationFiles, Include (Data) Include () , exe . , , , .

, .

http://robindotnet.wordpress.com/2009/08/19/where-do-i-put-my-data-to-keep-it-safe-from-clickonce-updates/

0

You can always save the file as a resource and get your application to write the file the first time you start it.

0
source

Source: https://habr.com/ru/post/1786205/


All Articles