停用ClickOnce

编程入门 行业动态 更新时间:2024-10-24 08:23:30
本文介绍了停用ClickOnce的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您好,我们已经开发了一个Office解决方案,其中包含最初在VS 2005中的各种项目(每个Office应用程序一个项目)。 在上个月我们已迁移VS 2008中的解决方案。 我们自动获得了ClickOnce支持。因此,VS 2008会自动生成临时密钥(xxx_TemporaryKey.pfx)。 对于我们的解决方案,我们不想使用ClickOnce。我们只想使用自己的设置。出于这个原因,我们删除了密钥并尝试停用项目属性中的清单签名。 但是出现以下问题? 1)如果我们删除xxx_TemporaryKey。 VS 2008中的pfx文件在VS 2008中不再可见,但在* .csproj文件中我们仍然有以下行: < ManifestCertificateThumbprint> 0AB11CB27A2FC752AE226450049EC64CCD55ADE8< / ManifestCertificateThumbprint> < ManifestKeyFile> EasySmartClientExcelAddIn_TemporaryKey.pfx< / ManifestKeyFile> < SignManife> true< / SignManifests> 2)我们无法在项目属性中停用ClickOnce的清单签名 所以我们的问题是: 我们如何完全停用VS 2008中的ClickOnce支持? 是否可能? 由于我们的自动化构建管理,我们需要停用。 先谢谢了。 cakbulut

Hello, we have developed an Office solution with various projects (for each Office Application one project) originally in VS 2005. In the last month we have migrated the solution in VS 2008. There we have gotten automatically the ClickOnce support. For this reason VS 2008 automatically generates a temporary key (xxx_TemporaryKey.pfx). For our solution we do not want use ClickOnce. We only want use our own setup. For this reason we have deleted the key and try to deactivate the manifest signing in the project properties. But there occur the following problems? 1) If we delete xxx_TemporaryKey.pfx in VS 2008 the file is not visible anymore in VS 2008 but in the *.csproj file we still have the following lines:     <ManifestCertificateThumbprint>0AB11CB27A2FC752AE226450049EC64CCD55ADE8</ManifestCertificateThumbprint>     <ManifestKeyFile>EasySmartClientExcelAddIn_TemporaryKey.pfx</ManifestKeyFile>     <SignManifests>true</SignManifests> 2) We cannot deactivate the the manifest signing for ClickOnce in the project properties So our question are: How we can totally deactivate the ClickOnce support in VS 2008? Is it at all possible? We need the the deactivation because of our automated build management. Thanks in advanced. cakbulut

推荐答案

嗨Cakbulut, 如果你指的是VSTO 3.0(即Visual Studio 2008 + Office 2007),您所经历的是"按设计"。用于部署VSTO 3.0解决方案。 对于转换为VSTO 3.0的用户,这是通过在部署VSTO项目时使用ClickOnce进行的改进。

Hi Cakbulut,If you are referring to VSTO 3.0(i.e. Visual Studio 2008 + Office 2007), what you're experiencing is "by design" for the deployment of VSTO 3.0 solutions. For a user who converts to VSTO 3.0, this is an improvement by using ClickOnce in deploying VSTO projects.

有关于部署VSTO 3.0解决方案的更多信息以下链接: msdn.microsoft/en-us/library/ cc563937.aspx

There is more information about deploying VSTO 3.0 solutions in the following link: msdn.microsoft/en-us/library/cc563937.aspx

感谢您的反馈。

祝你好运,

更多推荐

停用ClickOnce

本文发布于:2023-11-12 07:31:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580887.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:ClickOnce

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!