How do I resolve a mixed mode assembly error when using .NET Assemblies in a standalone application?
Show older comments
I am trying to use a .NET assembly in my application. When I run the application in the MATLAB Editor, the assembly works fine. However, when I compile my application into a standalone application, I get the following error when I try to call functions in the .NET Assembly:
Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information
How can I resolve this error?
Accepted Answer
More Answers (0)
Categories
Find more on Deploy to .NET Applications Using MWArray API in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!