Cannot find type System.ApplicationException in mo

2019-07-16 23:40发布

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条回答
你好瞎i
2楼-- · 2019-07-17 00:23

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.

查看更多
登录 后发表回答