Matlab .NET assembly with C# -


im having strange issue integrating matlab .net assembly c#. when try using dll in console application project works fine. when change project class library (without changing adding constructor class) exception when attempting load instance of matlab object. exception is:

system.typeinitializationexception: type initializer 'mathworks.matlab.net.utility.mwmcr' threw exception. ---> system.exception: trouble initializing libraries required .net assembly.     @ mathworks.matlab.net.utility.mwmcr..cctor()    --- end of inner exception stack trace ---    @ mtlobj..cctor()} 

any appreciated!

thanks

can check differences in .csproj file after changed it? (on file level)

and can try remove reference , add it, maybe console application adds reference tag class library not expecting.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -