Why do I get an "Unrecognized method, property, or field 'IsInterface'" error when accessing NET.assembly properties with .NET 9
Show older comments
With .NET 9, I am attempting to get the properties of a NET.Assembly (like Classes or Interfaces), but this throws an error. For example,
>> asmInfo = NET.addAssembly("System.Windows.Forms");
>> asmInfo.Classes
Unrecognized method, property, or field 'IsInterface' for class 'System.RuntimeType'.
...
This same code works with .NET 8. Why am I getting an error with .NET 9?
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with Microsoft .NET 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!