Lumia Imaging SDK throws System.TypeLoadException: Lumia.Imaging.StorageFileImageSource is not registered

113 Views Asked by At

I've used Lumia Imaging SDK (ver 2) for compressing images in my Windows Phone 8.1 RT application. The code for compression randomly throws the following exception:

System.TypeLoadException: Failure has occurred while loading a type.
Requested Windows Runtime type 'Lumia.Imaging.StorageFileImageSource' is not registered.,

Message: Failure has occurred while loading a type.,
Stacktrace: at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD)
at Lumia.Imaging.StorageFileImageSource..ctor(IStorageFile storageFile)

How can I fix this?

Update: I'm using Visual Studio 2013 Update 5. Details here.

0

There are 0 best solutions below