clickonce应用程序的已安装文件位置 [英] Installed files location for clickonce application

查看:397
本文介绍了clickonce应用程序的已安装文件位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在VS -2010中实现了一个Windows应用程序,我使用了本地数据库database1.sdf。我已发布此应用程序并生成exe文件并在我的计算机中安装应用程序,我的应用程序工作正常,我可以将数据插入数据库,现在我需要database1.sdf但我无法找到此数据库在安装时所在的位置,怎么能我找到存储与应用程序相关的所有文件的文件夹(通常当我们在计算机中安装任何程序时它会在Program Files下生成文件夹,但我找不到我的应用程序的这样的文件夹)?

谢谢

解决方案

要查找文件夹位置,您只需运行应用程序,打开任务管理器(CTRL-SHIFT-ESC) ,选择应用程序并右键单击|打开文件位置。



否则请尝试此处

  windows Vista  Windows  7 ,你会发现此处的ClickOnce缓存:c:\users \username \ AppData \ Local \ Apps \\\\ [@ [[[[[[[[[[[$ $ $ $ $ $ $ 
$ b Windows XP,你可以在这里找到它:C:\Documents 设置\ usernamename \ LocalSettings \Apps \2.0 \ obfuscatedfoldername \\ \\obfuscatedfoldername


Hi,
I have implement a windows application in VS -2010 , I have used local database database1.sdf. I have publish this Application and generate exe file and install application in my computer, my application works fine , I can insert data to database , now i need database1.sdf but i cant find where this database locate at the time of installation , how can i find folders where all files related to application stored(normally when we install any programme in computer it generate folder under Programme Files , but i cant find such folder for my application)?
Thanks

解决方案

To find the folder location, you can just run the app, open the task manager (CTRL-SHIFT-ESC), select the app and right-click|Open file location.

else try here

On windows Vista and Windows 7, you will find the ClickOnce cache here: c:\users\username\AppData\Local\Apps\2.0\obfuscatedfoldername\obfuscatedfoldername

On Windows XP, you will find it here: C:\Documents and Settings\username\LocalSettings\Apps\2.0\obfuscatedfoldername\obfuscatedfoldername


这篇关于clickonce应用程序的已安装文件位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆