I created one sample cordova app using windows platform and added one test plugin , while calling native code through test plugin. I'm getting exception

WinRTError: The text associated with this error code could not be found.

System.IO.FileLoadException: Could not load file or assembly 'System.Runtime.WindowsRuntime, Version=4.0.11.0, Culture=neutral, PublicKeyToken=..'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at WindowImageAnnotation.ImageAnnotationPlugin.CreateImageAnnotation(String jsonString) at module.exports.coolMethod (ms-appx-web://../www/plugins/cordova-plugin-imagewindow/src/windows/WindowImageProxy.js:25:11)

App Version: enter image description here

Native code version: enter image description here

This line throwing exception inside plugin, method is present in that variable "ev"

enter image description here

enter image description here

Exception: enter image description here

Native code: enter image description here

I changed the version also and tried but getting every time same exception. Any solution about this. Will provide if anything required. Thanks in Advance

Running App in Visual Studio Community 2017 15.9.30

0

There are 0 answers