Main Content

Migrating from .NET Framework to .NET Core

Since many .NET APIs changed with .NET Core, simply changing your .NET run-time environment from "framework" to "core" might cause errors or unexpected behavior. For information about the APIs, see There are different versions of .NET documentation, so be sure to refer to the version that is on your system. See System Requirements for Using MATLAB Interface to .NET for information about version support in MATLAB®.

.NET Core does not support loading assemblies installed in the .NET Global Assembly Cache (GAC). To load a GAC assembly, restart MATLAB then call:



There are known limitations for upgrading code from .NET Framework to .NET Core. For more information, refer to

Change to Assembly Support

These assemblies are not part of .NET Core. For up-to-date information, refer to .NET Core documentation.

  • System.Management

  • System.ServiceModel.Primitives

  • System.EnterpriseServices

These assemblies are renamed in .NET Core:

.NET Framework Assembly

.NET Core Assembly


.NET Framework Features Not Supported

.NET Core does not support these features:

  • Async delegate functions such as BeginInvoke and EndInvoke

  • Async event functions

  • Loading multi-module assemblies

  • Loading different assemblies with the same name

See Also