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

c++ - list<myClass<int> * > sort -

c - Defining floating point constants, how many digits are useful? -

C# Apple Bonjour - how to monitor service records within Windows -