我必须签署ClickOnce清单吗?

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

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

I have a VS2012 solution (WinForm vb) 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的确认: msdn.microsoft/zh-我们/library/zfz60ccf.aspx

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

更多推荐

我必须签署ClickOnce清单吗?

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

发布评论

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

>www.elefans.com

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