NuGet Package Microsoft.Extensions.DependencyModel

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.




Got any Microsoft.Extensions.DependencyModel Question?





Info

Version: 9.0.0-preview.1.24080.9
Author(s): Microsoft
Last Update: Tuesday, February 13, 2024
.NET Fiddle: Online Example
Project Url: https://dot.net/
NuGet Url: https://www.nuget.org/packages/Microsoft.Extensions.DependencyModel


Install
Install-Package Microsoft.Extensions.DependencyModel
dotnet add package Microsoft.Extensions.DependencyModel
paket add Microsoft.Extensions.DependencyModel
Microsoft.Extensions.DependencyModel Download (Unzip the "nupkg" after downloading)

.NETStandard 1.3 .NETStandard 1.6 .NETStandard 2.0 monoandroid10 monotouch10 net451 net461 net5.0
  • No dependencies.
netcoreapp2.0 netcoreapp2.1 uap10.0.16299 xamarinios10 xamarinmac20 xamarintvos10 xamarinwatchos10 664 packages depend on this package.




STATS

must-have-score

5.5

avg-downloads-per-day

465841

days-since-last-release

19