单击自动部署后,是否有人对隔离的存储目录的内容有疑问或无法正确更新?
我相信您可以在此后的ClickOnce和隔离存储中找到答案。
If the version of your application changes (I am uncertain exactly which version number it is) then new deployment creates a new folder for storage. There are 2 ways in which isolated storage stores the data:
In both cases, when the assembly changes the directory changes. I do not know what the best way to keep the data between deployments is, but that is the reasoning for it.
Go "missing" -- yes. I'm not exactly sure how ClickOnce handles updates but I've seen where a new release would not have the same data directory associated with it (or it wouldn't move the contents forward). I was able to find the old file manually and copy it forward myself when necessary so for the user's application data I required them to specify a destination that they could easily set if the app lost the link to it (which was stored in IsolatedStorage).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.