locked
Silverlight app not running on Windows Phone 10 RRS feed

  • Question

  • 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?
    Tuesday, February 21, 2017 12:33 AM

All replies


  • Hi Phil Wright (Australia),

    >>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!

    Does this one phone is different from other devices? You can try to run it on a new device.

    Or, you can brush machine to reload the new Windows Phone 10 system.


    Best Regards,

    Yohann Lu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, February 22, 2017 10:01 AM
  • Hi Phil Wright,

    If just the specific phone has this issue, I think it would be not the project issue, you would think about the Phone itself.

    I know that we could use the Windows Device Recovery Tool to fix software problems on phone, you could try to test it using this tool.

    Best Regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, February 22, 2017 11:56 AM
    Moderator