如何不签署ClickOnce清单

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

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

I have an Office 2007 (specifically Outlook 2007) add in created in VisualStudio2008.

当我取消选中签署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清单

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

发布评论

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

>www.elefans.com

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