简体   繁体   English

Silverlight 已停产,我该如何安装它?

[英]How do I install Silverlight now that it has been discontinued?

I have a database application (developed with Visual Studio Lightswitch) which runs Silverlight.我有一个运行 Silverlight 的数据库应用程序(使用 Visual Studio Lightswitch 开发)。 I need to install the Lightswitch runtime and Silverlight on a Windows 10 computer but I get an error in Chrome and Firefox--404 file not found.我需要在 Windows 10 计算机上安装 Lightswitch 运行时和 Silverlight,但在 Chrome 和 Firefox 中出现错误--404 文件未找到。 When I try to run Internet Explore it closes and Launches Edge.当我尝试运行 Internet Explorer 时,它会关闭并启动 Edge。 Is there a way to install Silverlight now that it has been discontinued by Microsoft?微软已经停止安装 Silverlight,有没有办法安装它? I have uninstall the Lightswitch app and Silverlight as well as deleted the "out of browser" directory in AppData.我已经卸载了 Lightswitch 应用程序和 Silverlight,并删除了 AppData 中的“浏览器外”目录。

This is the Microsoft download link that never works.这是永远无法使用的 Microsoft 下载链接。

https://www.microsoft.com/getsilverlight/get-started/install/default?reason=unsupportedbrowser&_helpmsg=FirefoxObsoleteForSL&v=4.0#sysreq https://www.microsoft.com/getsilverlight/get-started/install/default?reason=unsupportedbrowser&_helpmsg=FirefoxObsoleteForSL&v=4.0#sysreq

IE11 is going to be retired on Windows 10 in two weeks so you may as well fix this on Edge. IE11 将在两周后在 Windows 10 上停用,因此您不妨在 Edge 上解决此问题。

There's a standalone installer on CNET that still works - https://download.cnet.com/Microsoft-Silverlight-64-bit/3000-2378_4-75884713.html . CNET 上有一个独立的安装程序仍然有效 - https://download.cnet.com/Microsoft-Silverlight-64-bit/3000-2378_4-75884713.html Install that.安装那个。

In Edge, go to edge://settings/defaultBrowser.在 Edge 中,转到 edge://settings/defaultBrowser。 Enable "Allow sites to be reloaded in Internet Explorer mode".启用“允许在 Internet Explorer 模式下重新加载网站”。 Don't Restart yet.暂时不要重启。 Add your URL to the list underneath that option (there are other ways to enable IE Mode but if you have a known URL, this is the simplest).将您的 URL 添加到该选项下方的列表中(还有其他方法可以启用 IE 模式,但如果您有已知的 URL,这是最简单的)。 Use the Restart button now.现在使用重新启动按钮。

Load the site.加载网站。 It should now work (including Silverlight) in Edge IE Mode.它现在应该在 Edge IE 模式下工作(包括 Silverlight)。

Edit: Reading your question again, it looks like you're using a desktop installed app.编辑:再次阅读您的问题,您似乎正在使用桌面安装的应用程序。 The above will work for a server hosted Lightswitch application.以上将适用于服务器托管的 Lightswitch 应用程序。 Some variation of it may work for an installed one but I don't have a setup to test that.它的某些变体可能适用于已安装的版本,但我没有设置来测试它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM