【发布时间】:2025-12-02 09:45:01
【问题描述】:
我们有一个为 Windows Phone 8 编写的 Silverlight 应用程序。
公司中的每个人都已升级到 Windows Phone 10,并且该应用仍然可以从 Microsoft Store 完美安装和运行。除了一部手机!解锁手机进行开发并在调试中运行它会在输出中出现以下错误...
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.ni.dll
Exception thrown: 'System.TypeLoadException' in mscorlib.ni.dll
获取 FileNotFoundException 的详细输出会给出以下结果...
Additional information: Could not load file or assembly
'System.Windows.RuntimeHost, Version=2.0.6.0,
Culture=neutral, PublicKeyToken=7cec85d7bea7798e'
or one of its dependencies. The system cannot find the file specified.
System.Windows.Runtimehost dll 是运行 Silverlight 应用程序的主机。这可以解释为什么它不运行。但是,这怎么能从手机中丢失,而不是从任何其他手机中丢失呢?
我们尝试将手机恢复出厂设置,但仍然无法正常工作。
其他人看起来像这样,有什么想法吗?
【问题讨论】:
-
那个手机的型号和其他的不一样吗?
-
您使用的是哪个 win10mobile 版本? 14393 或 10586
标签: silverlight windows-phone-8 windows-10-mobile