停用ClickOnce [英] Deactivating ClickOnce

查看:96
本文介绍了停用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解决方案的更多信息以下链接:
http://msdn.microsoft.com/en-us/library/ cc563937.aspx

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

感谢您的反馈。

祝你好运,


这篇关于停用ClickOnce的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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