How to install the .NET package StructureMap.Microsoft.DependencyInjection from NuGet by adding a package reference
.Net
C#
NuGet
Visual Studio
StructureMap.Microsoft.DependencyInjection
In Solution Explorer, edit your project's .csproj file by right-clicking your project> Edit Project File. Add a dependency in your project file using the following syntax.
<ItemGroup>
<!-- ... -->
<PackageReference Include="StructureMap.Microsoft.DependencyInjection" Version="2.0.0" />
<!-- ... -->
</ItemGroup>