部署到特定目录 [英] Deploy to specific directory
问题描述
大家好,我是b $ b我为Word,Excel和Outlook开发了Office 2010加载项。
所有共享逻辑都位于一个vsto中。 dll。
Hi all,
I have developed Office 2010 Add-ins for Word, Excel and Outlook.
All the shared logic sits in one vsto.dll.
当我使用ClickOnce进行部署时,每个加载项都会部署到特定目录中,并且每次都包含我的业务逻辑(vsto.dll)。当我现在修改vsto.dll中的内容时,我必须部署所有3个加载项,这是一个痛苦的问题。
When I deploy with ClickOnce every add-in is deployed into a specific directory and includes my business logic (vsto.dll) every time as well. When I modify now somthing in that vsto.dll I have to deploy all 3 add-ins what's a pain in the neck.
如何告诉ClickOnce在哪里安装我的vsto.dll?
How to tell ClickOnce where to install my vsto.dll?
Thx提前
acki4711
Thx in advance
acki4711
推荐答案
您好,
您无法更改位置。
ClickOnce部署旨在对其产生零影响主机,因此ClickOnce应用程序安装在用户文件夹中,以免对主机产生任何影响,也不需要管理员权限。
在Vista / Win7上/ Win8 / Win10位置 SysDrive:\ Users \ UserName \ AppData \ Local \ Apps \
文件夹,在XP机器上,我相信该文件夹是 SysDrive:\Documents
。
和设置\用户名\应用数据\
On Vista/Win7/Win8/Win10 the location is SysDrive:\Users\UserName\AppData\Local\Apps\
folder and on XP machines I believe the folder is SysDrive:\Documents
and Settings\UserName\Application Data\
.
<跨度>ç lickOnce Office解决方案安装在ClickOnce应用程序缓存或全局程序集缓存(GAC)中.ClickOnce缓存是一系列隐藏目录,包含所有解决方案的文件,包括程序集,配置
文件,应用程序和用户设置以及数据目录。 ClickOnce Office解决方案使用与Windows窗体ClickOnce应用程序相同的缓存。通过ClickOnce缓存工作时,可以打开与其他Internet或网络位置的链接,缓存的
解决方案也可以在脱机模式下运行。对于文档级自定义,文档未安装到ClickOnce缓存,可以位于用户的计算机或网络文件共享上。有关ClickOnce
缓存的详细信息,请参阅 ClickOnce缓存概述 。
在以下文章中阅读更多相关内容:
这篇关于部署到特定目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!