我有一个 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清单
发布评论