poz1/NFCForms

RootFrame_NavigationFailed() reached when running on Windows 10.

yehe01 opened this issue · 2 comments

When I build and deploy the app to a Windows 10 device, it goes to RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e) in App.xaml.cs and the IDE changes to debugger mode.
The exception message of e is

Could not load file or assembly 'NdefLibrary, Version=3.0.3.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

After clicking continue, it says Your application is in break mode. The exception is TargetInvocationException was unhandled.

I didn't change the version number and it should be using 3.0.2.0. Just wonder where the 3.0.3.0 comes from.

Anyway, the sample could work after upgrading the 'NDEFLibrary' to 3.1.1.