We have a Silverlight app written for Windows Phone 8.
Everyone in the office has upgraded to Windows Phone 10 and the app still installs and runs perfectly from the Microsoft Store for Windows Phone 10 devices. Except for one phone! Unlocking the phone for development and running it in debug gives the following
errors in the output...
Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.ni.dll
Exception thrown: 'System.TypeLoadException' in mscorlib.ni.dll
Getting the detailed output for the FileNotFoundException exception gives the following...
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.
The System.Windows.Runtimehost dll is the host for running a Silverlight application.
That would explain why it does not run, how can this be missing from the phone and not from any other phone?
We tried a factory reset of the phone and it still does not work.
Anyone else seem this, any ideas?