签署的ClickOnce体现复选框保持默认为选中上发布复选框、默认为、ClickOnce

由网友(山河有幸埋战骨)分享简介:我想获得一个.NET解决方案使用的ClickOnce 发布不签订体现在视觉 &工作室NBSP; 2008年 SP1,但我有没有喜悦。特别是所谓的复选框签署的ClickOnce体现不断得到重新检查,每次我公布。奇怪的是,其他开发人员说,他可以发布在同一个解决方案,并离开这个听之任之。I am trying t...

我想获得一个.NET解决方案使用的ClickOnce 发布不签订体现在视觉 &工作室NBSP; 2008年 SP1,但我有没有喜悦。特别是所谓的复选框签署的ClickOnce体现不断得到重新检查,每次我公布。奇怪的是,其他开发人员说,他可以发布在同一个解决方案,并离开这个听之任之。

I am trying to get a .NET solution to publish using ClickOnce without signing the manifests in Visual Studio 2008 SP1, but I am having no joy. Specifically the check box called "Sign the ClickOnce manifests" keeps getting re-checked every time I publish. Strangely, another developer says he can publish on the same solution and leave this unchecked.

我看到其他的堆栈溢出问题,的 如何不签署的ClickOnce清单 的。但我认为你应该能够发布使用ClickOnce在不登录的视觉及NBSP;录音室和NBSP;根据Microsoft的职位2008 SP1,的如何:登录应用程序和部署清单 的

I saw the other Stack Overflow question, How to not sign a ClickOnce manifest. But I thought you are supposed to be able to publish using ClickOnce without signing in Visual Studio 2008 SP1 per Microsoft's post, How to: Sign Application and Deployment Manifests.

不过,再多的重新发布和取消选中让我继续,而不会产生某种证书。

But no amount of re-publishing and un-checking allows me to continue without generating some sort of certificate.

推荐答案

我有同样的问题,我从来没有想出如何解决这个问题。我的解决方案是每次登录发布。但是,我关联与​​应用程序的证书是一个虚拟的一个,我允许Visual Studio生成,与失效日期设定为最大可用日期

I had the same problem, and I never figured out how to "fix" this problem. My solution has been to sign every publish. However, the certificate that I associate with the application is a "dummy" one that I allow Visual Studio to generate, with the expiration date set to the maximum available date.

您的应用程序仍然会签约,但你应该不必担心您的用户不必卸载和放大器;重新安装应用程序时,证书过期。

Your application will still be signed, but you should have to worry about your user's having to uninstall & re-install your application when the certificate expires.

阅读全文

相关推荐

最新文章