Why do I get an “Unrecognized method, property, or field ‘IsInterface'” error when accessing NET.assembly properties with .NET 9
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?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? 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? MATLAB Answers — New Questions









