问题
I am making an Image processing App for my own use which I don't want to put on store. I want to use my pre designed Matlab codes in that windows store app. When using the dlls in my project, it displays the error -
Cannot find type System.ApplicationException in module mscorlib.dll
回答1:
Most probable cause for this exception is the DLLs which you are referencing or their dependencies are not supported by WinRT
Try to use LoadPackagedLibrary
or GetProcAddress
to load DLLs. If you cannot then Matlab DLL needs to be compiles with WinRT SDK.
来源:https://stackoverflow.com/questions/24217509/cannot-find-type-system-applicationexception-in-module-mscorlib-dll-error-in-win