Why do I get an "Unrecognized method, property, or field 'IsInterface'" error when accessing NET.assembly properties with .NET 9
Mostrar comentarios más antiguos
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?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Get Started with Microsoft .NET en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!