我必须签署ClickOnce清单吗? [英] Do I have to sign my ClickOnce manifest?

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

问题描述

我有一个VS2012解决方案(WinForm vb.net),感谢ClickOnce对其进行了部署.我今天对部署此应用程序进行了一些测试.我可以发布并部署此应用程序,而无需签署ClickOnce清单或签署程序集.在我的项目的签名"选项卡上,取消选中签署ClickOnce清单"和签署程序集".安装此应用程序时,我没有任何错误(关于程序集未签名).

I have a VS2012 solution (WinForm vb.net) which I deploy thanks to ClickOnce. I do some tests today for deploying this application. I'm able to publish and deploy this application without signing the ClickOnce manifest nor signing the assembly. On the Signing tab of my project I uncheck 'Sign the ClickOnce manifests' and 'Sign the assembly'. I don't have any errors (about assembly not signed) when installing this application.

我将发布的文件夹复制到USB闪存盘上,然后将其安装在另一台计算机上而没有问题.我还能够更新我的应用程序并自动安装这些更新(感谢ClickOnce).

I copy the published folder on a USB key and install it on another computer without problem. I'm also able to update my application and install these updates automatically (thanks to ClickOnce).

我了解了很多有关ClickOnce和签名的知识,看来我不必为WinForm应用程序签名.

I read a lot about ClickOnce and signing and it seems I don't have to sign for WinForm application.

有人可以确认吗?我想知道是否可以将我的ClickOnce文件夹复制到网络公司的共享位置上吗?

Does someone can confirm this? I wonder if I copy my ClickOnce folder on a share on the network company if I can always install it without problems?

明天我将有机会尝试在公司的网络上进行安装(今天不行).

Tomorrow I will have the opportunity to try to install on the company's network (not today).

感谢您的帮助.

推荐答案

对ClickOnce清单进行签名是可选的.请参阅此处以获取Microsoft的确认: http://msdn.microsoft.com/zh-我们/library/zfz60ccf.aspx

Signing ClickOnce manifests is optional since .Net 3.5. See here for confirmation from Microsoft: http://msdn.microsoft.com/en-us/library/zfz60ccf.aspx

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

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