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