System.Reflection.MetadataLoadContext 8.0.0-preview.3.23174.8

About

Provides read-only reflection on assemblies in an isolated context with support for assemblies that target different processor architectures and runtimes. Using MetadataLoadContext enables you to inspect assemblies without loading them into the main execution context. Assemblies in MetadataLoadContext are treated only as metadata, that is, you can read information about their members, but cannot execute any code contained in them.

For more information, see the documentation:

Example

The following example shows how to print the list of types defined in an assembly.

using System;
using System.Reflection;

class Program
{
    static void Main()
    {
        string inspectedAssembly = "Example.dll";
        var resolver = new PathAssemblyResolver(new string[] {inspectedAssembly, typeof(object).Assembly.Location});
        using var mlc = new MetadataLoadContext(resolver, typeof(object).Assembly.GetName().ToString());

        // Load assembly into MetadataLoadContext
        Assembly assembly = mlc.LoadFromAssemblyPath(inspectedAssembly);
        AssemblyName name = assembly.GetName();

        // Print types defined in assembly
        Console.WriteLine($"{name.Name} has following types: ");

        foreach (Type t in assembly.GetTypes())
        {
            Console.WriteLine(t.FullName);
        }
    }
}

Showing the top 20 packages that depend on System.Reflection.MetadataLoadContext.

Packages Downloads
GroupDocs.Conversion
GroupDocs.Conversion for .NET is a powerful and intuitive library used for documents conversion. Convert DOC to PDF, PDF to DOC, XLS to DOC, PPT to PDF and any other popular file formats with simple, intuitive and flexible API. For more details on the GroupDocs.Conversion for .NET API, please visit product website at: https://products.groupdocs.com/conversion/net Note: The library will run in evaluation mode. In order to test full features of the product, please request a free 30-day temporary license.
3
GroupDocs.Conversion
GroupDocs.Conversion for .NET is a powerful and intuitive library used for documents conversion. Convert DOC to PDF, PDF to DOC, XLS to DOC, PPT to PDF and any other popular file formats with simple, intuitive and flexible API. For more details on the GroupDocs.Conversion for .NET API, please visit product website at: https://products.groupdocs.com/conversion/net Note: The library will run in evaluation mode. In order to test full features of the product, please request a free 30-day temporary license.
2

https://go.microsoft.com/fwlink/?LinkID=799421

.NET Framework 4.6.2

.NET Standard 2.0

.NET 8.0

.NET 7.0

.NET 6.0

Version Downloads Last updated
10.0.0 0 11/11/2025
10.0.0-rc.2.25502.107 0 10/14/2025
10.0.0-rc.1.25451.107 1 09/18/2025
10.0.0-preview.7.25380.108 2 08/25/2025
10.0.0-preview.6.25358.103 1 08/25/2025
10.0.0-preview.5.25277.114 2 08/25/2025
10.0.0-preview.4.25258.110 2 08/25/2025
10.0.0-preview.3.25171.5 2 08/25/2025
10.0.0-preview.2.25163.2 2 08/25/2025
10.0.0-preview.1.25080.5 2 08/25/2025
9.0.11 0 11/11/2025
9.0.10 0 10/14/2025
9.0.9 1 09/17/2025
9.0.8 2 08/25/2025
9.0.7 2 08/25/2025
9.0.6 2 08/25/2025
9.0.5 2 08/25/2025
9.0.4 2 08/25/2025
9.0.3 2 08/25/2025
9.0.2 2 08/25/2025
9.0.1 2 08/25/2025
9.0.0 2 08/25/2025
9.0.0-rc.2.24473.5 2 08/25/2025
9.0.0-rc.1.24431.7 2 08/25/2025
9.0.0-preview.7.24405.7 2 08/25/2025
9.0.0-preview.6.24327.7 2 08/25/2025
9.0.0-preview.5.24306.7 2 08/25/2025
9.0.0-preview.4.24266.19 2 08/25/2025
9.0.0-preview.3.24172.9 2 08/25/2025
9.0.0-preview.2.24128.5 2 08/25/2025
9.0.0-preview.1.24080.9 2 08/25/2025
8.0.1 2 08/25/2025
8.0.0 2 08/25/2025
8.0.0-rc.2.23479.6 2 08/25/2025
8.0.0-rc.1.23419.4 2 08/25/2025
8.0.0-preview.7.23375.6 2 08/25/2025
8.0.0-preview.6.23329.7 2 08/25/2025
8.0.0-preview.5.23280.8 2 08/25/2025
8.0.0-preview.4.23259.5 2 08/25/2025
8.0.0-preview.3.23174.8 2 08/25/2025
8.0.0-preview.2.23128.3 2 08/25/2025
8.0.0-preview.1.23110.8 2 08/25/2025
7.0.0 2 08/25/2025
7.0.0-rc.2.22472.3 2 08/25/2025
7.0.0-rc.1.22426.10 2 08/25/2025
7.0.0-preview.7.22375.6 2 08/25/2025
7.0.0-preview.6.22324.4 2 08/25/2025
7.0.0-preview.5.22301.12 2 08/25/2025
7.0.0-preview.4.22229.4 2 08/25/2025
7.0.0-preview.3.22175.4 2 08/25/2025
7.0.0-preview.2.22152.2 2 08/25/2025
7.0.0-preview.1.22076.8 2 08/25/2025
6.0.1 2 08/25/2025
6.0.0 2 08/25/2025
6.0.0-rc.2.21480.5 2 08/25/2025
6.0.0-rc.1.21451.13 2 08/25/2025
6.0.0-preview.7.21377.19 2 08/25/2025
6.0.0-preview.6.21352.12 2 08/25/2025
6.0.0-preview.5.21301.5 2 08/25/2025
6.0.0-preview.4.21253.7 2 08/25/2025
6.0.0-preview.3.21201.4 2 08/25/2025
6.0.0-preview.2.21154.6 2 08/25/2025
6.0.0-preview.1.21102.12 2 08/25/2025
5.0.1 2 08/25/2025
5.0.0 2 08/25/2025
5.0.0-rc.2.20475.5 2 08/25/2025
5.0.0-rc.1.20451.14 2 08/25/2025
5.0.0-preview.8.20407.11 2 08/25/2025
5.0.0-preview.7.20364.11 2 08/25/2025
5.0.0-preview.6.20305.6 2 08/25/2025
5.0.0-preview.5.20278.1 2 08/25/2025
5.0.0-preview.4.20251.6 2 08/25/2025
5.0.0-preview.3.20214.6 2 08/25/2025
5.0.0-preview.2.20160.6 2 08/25/2025
5.0.0-preview.1.20120.5 2 08/25/2025
4.7.2 2 08/25/2025
4.7.1 2 08/25/2025
4.7.0 2 08/25/2025
4.7.0-preview3.19551.4 2 08/25/2025
4.7.0-preview2.19523.17 2 08/25/2025
4.7.0-preview1.19504.10 2 08/25/2025
4.6.0 2 08/25/2025
4.6.0-rc1.19456.4 2 08/25/2025
4.6.0-preview9.19421.4 2 08/25/2025
4.6.0-preview9.19416.11 2 08/25/2025
4.6.0-preview8.19405.3 2 08/25/2025
4.6.0-preview7.19362.9 2 08/25/2025
4.6.0-preview6.19303.8 2 08/25/2025
4.6.0-preview6.19264.9 2 08/25/2025
4.6.0-preview5.19224.8 2 08/25/2025
4.6.0-preview4.19212.13 2 08/25/2025
4.6.0-preview3.19128.7 2 08/25/2025
4.6.0-preview.19073.11 2 08/25/2025
4.6.0-preview.18571.3 2 08/25/2025