Why do I get an "Unrecognized method, property, or field 'IsInterface'" error when accessing NET.assembly properties with .NET 9
Afficher commentaires plus anciens
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?
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!