microsoft / Lumia-imaging-sdk

Lumia Imaging SDK is a comprehensive set of GPU/CPU imaging tools and effects that run on both mobile and desktop, with high speed and memory efficiency. Samples and extras code are included.
MIT License
75 stars 37 forks source link

FileNotFoundException using your sample app #3

Open dekenless opened 8 years ago

dekenless commented 8 years ago

Exception thrown in StorageFileImageSource in the EditShowcase sample when trying to open an image. Error is in routine:

public Task LoadPhotoAsync(StorageFile file) { return m_renderer.LoadPhotoAsync(new StorageFileImageSource(file)); }

System.IO.FileNotFoundException was unhandled by user code HResult=-2147024770 Message=The specified module could not be found. (Exception from HRESULT: 0x8007007E) Source=mscorlib StackTrace: at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD) at Lumia.Imaging.StorageFileImageSource..ctor(IStorageFile storageFile) at Lumia.Imaging.EditShowcase.ViewModels.FilterExplorerViewModel.LoadPhotoAsync(StorageFile file) at Lumia.Imaging.EditShowcase.ViewModels.FilterExplorerViewModel.d__49.MoveNext() InnerException:

atkulp commented 8 years ago

This is a duplicate of issue #2 . It's not just me!

atkulp commented 8 years ago

Are you still getting this issue? What version of VS, phone, OS, etc. are you using? Microsoft says they can't repro the issue so we need to do some digging ourselves!

arjunkr21 commented 8 years ago

Hi, Even i had the same issue, but was able to resolve by changing the Application's Target Version. Hope this helps.

lumiasdk_issue_targetversion