更新浏览器外的 Silverlight 应用程序
我有一个浏览器外的 silverlight 应用程序,当对我的项目进行更改时,该应用程序不会更新。
我在应用程序文件中添加了 CheckAndDownloadUpdateAsync() 方法,这在本地运行时工作正常,但是一旦我将其托管在我的服务器(IIS 7)上,它就会停止更新。
我已尝试按照 http://forums.silverlight.net/p 修改 HTTP 标头过期时间/137425/306895.aspx 并确保我通过匿名访问 Client bin 文件夹,但这仍然不起作用。
有什么想法吗?
I have a silverlight out of browser application which will not update when changes are made to my project.
I have added the CheckAndDownloadUpdateAsync() method within the App file and this works fine when running locally however as soon as I host it on my server (IIS 7) it stops updating.
I have tried amending the HTTP header expiration as per http://forums.silverlight.net/p/137425/306895.aspx and also ensured that I am passing through annonymous access to the Client bin folder however this still does not work.
Any ideas??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好的,明白了 - 我需要签署 XAP 文件。
这样做了,现在可以了
Ok figured this out - I needed to sign the XAP file.
Did this and it now works
您必须签署XAP(数字签名)以及证书。如果启用了提升信任,并且您希望在已安装的应用程序中自动更新而无需重新安装,请签署XAP和认证 > 是必要的。
You have to sign the XAP (digital sign ) along with a certificate. If elevated trust is enable and you want automatic update in installed application without re-installation, signing the XAP and certification is necessary.