Publish Building using ClickOnce Stalls forever

别说谁变了你拦得住时间么 提交于 2019-12-11 07:37:36

问题


We use Click once technology to publish our application. Of late, when trying to do the same the application blocks for ever when the Sign Click once manifest is ticked. However, if this were to be uniticked or if the application were to published in safe mode with networking prompt , the publish build process doesnot hang. On the other hand if the application is run on normal mode with the sign manifest enabled the application always stops at the publish building process.

Note: The certificate used has not expired using the sign tool on the command line works perfectly. I have also repaired VS 2010. Ending the Signtool process from the taskmanager makes the application active again

Kindly help


回答1:


My guess is it is trying to contact a timestamp server and failing. Run Fiddler while you publish and see if you can see any failed http calls. As to why it is failing, I don't know, but hopefully it will give you a starting point.

The timestamp service stamps the manifest so that when the app's certificate expires, the client can verify that it was signed while the certificate was still valid.



来源:https://stackoverflow.com/questions/10141474/publish-building-using-clickonce-stalls-forever

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!