如何不签署ClickOnce清单 [英] How to not sign a ClickOnce manifest

查看:215
本文介绍了如何不签署ClickOnce清单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Office 2007 (具体 Outlook 2007 )添加在Visual Studio 2008中创建。

I have an Office 2007 (specifically Outlook 2007) add in created in Visual Studio 2008.

当我取消选中签署ClickOnce清单选项,然后发布时,它会自动重新检查该选项。

When I uncheck the "Sign the ClickOnce manifests" option, and then publish, it rechecks that option automatically.

我有一个常规的 Windows Forms 项目在同一解决方案中,允许我通过此选项进行发布。

I have a regular Windows Forms project in the same solution that allows me to publish with this unchecked.

为什么不允许我取消选中签名选项?

Why isn't it allowing me to uncheck the sign option?

推荐答案

您不需要签署EXE文件,但您需要签署DLL文件进行部署。您的Office加载项采用DLL文件的形式,因此必须进行签名。您的Windows窗体项目链接到一个EXE文件,因此它不需要签名。

You are not required to sign EXE files, but you need to sign DLL files for deployment. Your Office add-in is in the form of a DLL file, so it must be signed. Your Windows Forms project is linked into an EXE file, hence it does not need to be signed.

请参阅相关的MSDN页面, 使用Visual Studio Project Designer的签名页面ClickOnce签名和强名称装配签名,子部分签名装配

See the relevant MSDN page, ClickOnce Manifest Signing and Strong-Name Assembly Signing Using Visual Studio Project Designer's Signing Page, sub section Signing Assemblies.

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

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