How do I resolve a mixed mode assembly error when using .NET Assemblies in a standalone application?
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Get Started with Microsoft .NET dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!