How do I resolve a mixed mode assembly error when using .NET Assemblies in a standalone application?
显示 更早的评论
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?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with Microsoft .NET 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!