Microsoft.Extensions.DependencyModel 10.0.0-rc.2.25502.107
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
- .deps.json file format
 - Microsoft.Extensions.DependencyModel namespace
 - Microsoft.Extensions.DependencyModel.DependencyContext
 
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 | 
|---|---|
| 
                                                    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. 
                                                 | 
                                                211 | 
| 
                                                    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. 
                                                 | 
                                                563 | 
| 
                                                    Microsoft.AspNetCore.Mvc.Core
                                                     ASP.NET Core MVC core components. Contains common action result types, attribute routing, application model conventions, API explorer, application parts, filters, formatters, model binding, and more.
Commonly used types:
Microsoft.AspNetCore.Mvc.AreaAttribute
Microsoft.AspNetCore.Mvc.BindAttribute
Microsoft.AspNetCore.Mvc.ControllerBase
Microsoft.AspNetCore.Mvc.FromBodyAttribute
Microsoft.AspNetCore.Mvc.FromFormAttribute
Microsoft.AspNetCore.Mvc.RequireHttpsAttribute
Microsoft.AspNetCore.Mvc.RouteAttribute 
                                                 | 
                                                205 | 
| 
                                                    Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation
                                                     Runtime compilation support for Razor views and Razor Pages in ASP.NET Core MVC.
This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/3eeb12e106b9e913c3a4dec1a7d16da7b74149eb 
                                                 | 
                                                9,486 | 
| 
                                                    Microsoft.AspNetCore.Mvc.Testing
                                                     Support for writing functional tests for MVC applications.
This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/3eeb12e106b9e913c3a4dec1a7d16da7b74149eb 
                                                 | 
                                                768 | 
| 
                                                    Microsoft.AspNetCore.Mvc.Testing
                                                     Support for writing functional tests for MVC applications.
This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/3f1acb59718cadf111a0a796681e3d3509bb3381 
                                                 | 
                                                445 | 
| 
                                                    nacos-sdk-csharp
                                                     nacos csharp sdk 
                                                 | 
                                                117 | 
| 
                                                    nacos-sdk-csharp
                                                     nacos csharp sdk 
                                                 | 
                                                433 | 
| 
                                                    Quantum.Framework.Core.StandardLib
                                                     Package Description 
                                                 | 
                                                118 | 
| 
                                                    Quantum.Framework.Core.StandardLib
                                                     Package Description 
                                                 | 
                                                128 | 
| 
                                                    Quantum.Framework.Core.StandardLib
                                                     Package Description 
                                                 | 
                                                167 | 
| 
                                                    Quantum.Framework.Core.StandardLib
                                                     Package Description 
                                                 | 
                                                177 | 
| 
                                                    Quantum.Framework.Infrastructure
                                                     负责提供Ioc, AutoMapper, ScmRuntimeInfo, WorkContext, QuantumContext等核心组件, 不参与非核心组件的功能 
                                                 | 
                                                114 | 
| 
                                                    Quantum.Framework.Infrastructure
                                                     负责提供Ioc, AutoMapper, ScmRuntimeInfo, WorkContext, QuantumContext等核心组件, 不参与非核心组件的功能 
                                                 | 
                                                116 | 
| 
                                                    Quantum.Framework.Infrastructure
                                                     负责提供Ioc, AutoMapper, ScmRuntimeInfo, WorkContext, QuantumContext等核心组件, 不参与非核心组件的功能 
                                                 | 
                                                124 | 
| 
                                                    Quantum.Framework.Infrastructure
                                                     负责提供Ioc, AutoMapper, ScmRuntimeInfo, WorkContext, QuantumContext等核心组件, 不参与非核心组件的功能 
                                                 | 
                                                164 | 
| 
                                                    Quantum.Framework.Infrastructure
                                                     负责提供Ioc, AutoMapper, ScmRuntimeInfo, WorkContext, QuantumContext等核心组件, 不参与非核心组件的功能 
                                                 | 
                                                183 | 
| 
                                                    Quantum.Framework.Infrastructure
                                                     负责提供Ioc, AutoMapper, ScmRuntimeInfo, WorkContext, QuantumContext等核心组件, 不参与非核心组件的功能 
                                                 | 
                                                191 | 
| 
                                                    Quantum.Framework.Infrastructure
                                                     负责提供Ioc, AutoMapper, ScmRuntimeInfo, WorkContext, QuantumContext等核心组件, 不参与非核心组件的功能 
                                                 | 
                                                195 | 
| 
                                                    Serilog.Settings.Configuration
                                                     Microsoft.Extensions.Configuration (appsettings.json) support for Serilog. 
                                                 | 
                                                214 | 
.NET Framework 4.6.2
- System.Text.Encodings.Web (>= 10.0.0-rc.2.25502.107)
 - System.Memory (>= 4.6.3)
 - System.Buffers (>= 4.6.1)
 - System.Text.Json (>= 10.0.0-rc.2.25502.107)
 
.NET Standard 2.0
- System.Memory (>= 4.6.3)
 - System.Buffers (>= 4.6.1)
 - System.Text.Json (>= 10.0.0-rc.2.25502.107)
 - System.Text.Encodings.Web (>= 10.0.0-rc.2.25502.107)
 
.NET 10.0
- No dependencies.
 
.NET 9.0
- System.Text.Json (>= 10.0.0-rc.2.25502.107)
 - System.Text.Encodings.Web (>= 10.0.0-rc.2.25502.107)
 
.NET 8.0
- System.Text.Json (>= 10.0.0-rc.2.25502.107)
 - System.Text.Encodings.Web (>= 10.0.0-rc.2.25502.107)