Microsoft.Extensions.DependencyModel 10.0.10

About

Provides abstractions for reading .deps files. When a .NET application is compiled, the SDK generates a JSON manifest file (<ApplicationName>.deps.json) that contains information about application dependencies. You can use Microsoft.Extensions.DependencyModel to read information from this manifest at run time. This is useful when you want to dynamically compile code (for example, using Roslyn Emit API) referencing the same dependencies as your main application.

By default, the dependency manifest contains information about the application's target framework and runtime dependencies. Set the PreserveCompilationContext project property to true to additionally include information about reference assemblies used during compilation.

How to Use

The following example shows how to display the list of assemblies used when compiling the current application. Include <PreserveCompilationContext>true</PreserveCompilationContext> in your project file to run this example.

using System;
using Microsoft.Extensions.DependencyModel;

class Program
{
    static void Main()
    {
        Console.WriteLine("Compilation libraries:");
        Console.WriteLine();

        foreach (CompilationLibrary lib in DependencyContext.Default.CompileLibraries)
        {
            foreach (string path in lib.ResolveReferencePaths())
            {
                Console.WriteLine(path);
            }
        }
    }
}

Additional Documentation

Feedback & Contributing

Microsoft.Extensions.DependencyModel is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Showing the top 20 packages that depend on Microsoft.Extensions.DependencyModel.

Packages Downloads
itext7
iText represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText can be a boon to nearly every workflow. iText allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in .NET.
74
itext7
iText 7 represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow. iText 7 allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in .NET.
72
itext7
iText 7 represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow. iText 7 allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in .NET.
71
itext7
iText 7 represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow. iText 7 allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in Java and .NET.
70
itext
iText represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText can be a boon to nearly every workflow. iText allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in .NET.
70
itext7
iText 7 represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow. iText 7 allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in Java and .NET.
69
itext7
iText 7 represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow. iText 7 allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in Java and .NET.
68
itext7
iText 7 represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow. iText 7 allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in .NET.
68
itext7
iText 7 represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow. iText 7 allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in Java and .NET.
67
itext7
iText 7 represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow. iText 7 allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in .NET.
66
itext7
iText 7 represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow. iText 7 allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in Java and .NET.
66
itext
iText represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText can be a boon to nearly every workflow. iText allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in .NET.
66

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

.NET Framework 4.6.2

.NET Standard 2.0

.NET 10.0

  • No dependencies.

.NET 9.0

.NET 8.0

Version Downloads Last updated
11.0.0-preview.7.26381.103 6 08/11/2026
11.0.0-preview.6.26359.118 11 07/16/2026
11.0.0-preview.5.26302.115 19 06/11/2026
11.0.0-preview.4.26230.115 23 05/14/2026
11.0.0-preview.3.26207.106 30 04/16/2026
11.0.0-preview.2.26159.112 33 03/11/2026
11.0.0-preview.1.26104.118 40 02/15/2026
10.0.11 6 08/11/2026
10.0.10 13 07/16/2026
10.0.9 23 06/11/2026
10.0.8 24 05/14/2026
10.0.7 25 04/23/2026
10.0.6 31 04/16/2026
10.0.5 34 03/13/2026
10.0.4 34 03/11/2026
10.0.3 33 02/17/2026
10.0.2 37 01/16/2026
10.0.1 48 12/10/2025
10.0.0 48 11/14/2025
10.0.0-rc.2.25502.107 63 10/17/2025
10.0.0-rc.1.25451.107 68 09/19/2025
10.0.0-preview.7.25380.108 71 09/05/2025
10.0.0-preview.6.25358.103 67 09/05/2025
10.0.0-preview.5.25277.114 68 09/05/2025
10.0.0-preview.4.25258.110 69 09/05/2025
10.0.0-preview.3.25171.5 63 09/05/2025
10.0.0-preview.2.25163.2 63 09/05/2025
10.0.0-preview.1.25080.5 67 09/05/2025
9.0.19 6 08/11/2026
9.0.18 11 07/16/2026
9.0.17 21 06/10/2026
9.0.16 22 05/14/2026
9.0.15 28 04/16/2026
9.0.14 33 03/11/2026
9.0.13 36 02/17/2026
9.0.12 44 01/17/2026
9.0.11 54 11/15/2025
9.0.10 55 10/18/2025
9.0.9 60 09/20/2025
9.0.8 65 09/05/2025
9.0.7 62 09/05/2025
9.0.6 65 09/05/2025
9.0.5 66 09/05/2025
9.0.4 67 09/05/2025
9.0.3 66 09/05/2025
9.0.2 60 09/05/2025
9.0.1 59 09/05/2025
9.0.0 68 09/05/2025
9.0.0-rc.2.24473.5 73 09/05/2025
9.0.0-rc.1.24431.7 73 09/05/2025
9.0.0-preview.7.24405.7 69 09/05/2025
9.0.0-preview.6.24327.7 71 09/05/2025
9.0.0-preview.5.24306.7 71 09/05/2025
9.0.0-preview.4.24266.19 69 09/05/2025
9.0.0-preview.3.24172.9 68 09/05/2025
9.0.0-preview.2.24128.5 65 09/05/2025
9.0.0-preview.1.24080.9 75 09/05/2025
8.0.2 67 09/05/2025
8.0.1 66 09/05/2025
8.0.0 67 09/05/2025
8.0.0-rc.2.23479.6 66 09/05/2025
8.0.0-rc.1.23419.4 70 09/05/2025
8.0.0-preview.7.23375.6 74 09/05/2025
8.0.0-preview.6.23329.7 70 09/05/2025
8.0.0-preview.5.23280.8 69 09/05/2025
8.0.0-preview.4.23259.5 69 09/05/2025
8.0.0-preview.3.23174.8 69 09/05/2025
8.0.0-preview.2.23128.3 65 09/05/2025
8.0.0-preview.1.23110.8 67 09/05/2025
7.0.0 62 09/05/2025
7.0.0-rc.2.22472.3 66 09/05/2025
7.0.0-rc.1.22426.10 69 09/05/2025
7.0.0-preview.7.22375.6 68 09/05/2025
7.0.0-preview.6.22324.4 66 09/05/2025
7.0.0-preview.5.22301.12 67 09/05/2025
7.0.0-preview.4.22229.4 70 09/05/2025
7.0.0-preview.3.22175.4 68 09/05/2025
7.0.0-preview.2.22152.2 64 09/05/2025
7.0.0-preview.1.22076.8 65 09/05/2025
6.0.2 61 09/05/2025
6.0.1 61 09/05/2025
6.0.0 60 09/05/2025
6.0.0-rc.2.21480.5 64 09/05/2025
6.0.0-rc.1.21451.13 67 09/05/2025
6.0.0-preview.7.21377.19 72 09/05/2025
6.0.0-preview.6.21352.12 63 09/05/2025
6.0.0-preview.5.21301.5 65 09/05/2025
6.0.0-preview.4.21253.7 61 09/05/2025
6.0.0-preview.3.21201.4 69 09/05/2025
6.0.0-preview.2.21154.6 63 09/05/2025
6.0.0-preview.1.21102.12 66 09/05/2025
5.0.0 60 09/05/2025
5.0.0-rc.2.20475.5 65 09/09/2025
5.0.0-rc.1.20451.14 69 09/05/2025
5.0.0-preview.3-runtime.20214.6 79 09/05/2025
5.0.0-preview.2-runtime.20160.6 78 09/05/2025
5.0.0-preview.8.20407.11 67 09/05/2025
5.0.0-preview.7.20364.11 70 09/05/2025
5.0.0-preview.6.20305.6 70 09/05/2025
5.0.0-preview.5.20278.1 66 09/05/2025
5.0.0-preview.4.20251.6 63 09/05/2025
5.0.0-preview.1.20120.5 64 09/05/2025
3.1.25 59 09/05/2025
3.1.6 59 09/05/2025
3.1.5 61 09/05/2025
3.1.4 62 09/05/2025
3.1.3 60 09/05/2025
3.1.2 62 09/05/2025
3.1.1 64 09/05/2025
3.1.0 59 09/05/2025
3.1.0-preview3.19553.2 66 09/05/2025
3.1.0-preview2.19525.6 67 09/05/2025
3.1.0-preview1.19506.1 67 09/05/2025
3.0.3 60 09/05/2025
3.0.2 58 09/05/2025
3.0.1 58 09/05/2025
3.0.0 59 09/05/2025
3.0.0-rc1-19456-20 61 09/05/2025
3.0.0-preview9-19423-09 63 09/05/2025
3.0.0-preview8-28405-07 65 09/05/2025
3.0.0-preview7-27912-14 65 09/05/2025
3.0.0-preview6-27804-01 63 09/05/2025
3.0.0-preview5-27626-15 63 09/05/2025
3.0.0-preview4-27615-11 61 09/05/2025
3.0.0-preview3-27503-5 59 09/05/2025
3.0.0-preview-27324-5 65 09/05/2025
2.1.0 64 09/05/2025
2.1.0-rc1 62 09/05/2025
2.1.0-preview2-26406-04 72 09/05/2025
2.1.0-preview1-26216-03 63 09/05/2025
2.0.4 64 09/05/2025
2.0.3 62 09/05/2025
2.0.0 60 09/05/2025
2.0.0-preview2-25407-01 64 09/05/2025
2.0.0-preview1-002111 62 09/05/2025
1.1.9 63 09/05/2025
1.1.2 61 09/05/2025
1.1.1 59 09/05/2025
1.1.0 68 09/05/2025
1.1.0-preview1-001100 63 09/05/2025
1.0.500-preview2-1-003177 71 09/05/2025
1.0.3 58 09/05/2025
1.0.1-beta-000933 65 09/05/2025
1.0.0 58 09/05/2025
1.0.0-rc2-final 60 09/05/2025
1.0.0-rc2-002702 59 09/05/2025