Skip to content

ThomasPiskol/dotnet-dependency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduce Dependency Resolution for .NET

  1. Clone the repo
  2. Build the library in net8.0-lib
dotnet build -c Release .\net8.0-lib -bl
  • Check the created binary log with the MSBuild Structured Log Viewer
  • Check net8.0-lib\obj\project.assets.json
  • Check the output of dotnet nuget why:
dotnet nuget why .\net8.0-lib\ "System.Text.Encoding" 

How to create the sample projects

net8.0-lib

dotnet new classlib -o net8.0-lib -f net8.0
dotnet add net8.0-lib package "Microsoft.EntityFrameworkCore.SqlServer" 

Enable the usage of lock file for package restore by setting this property in the net8.0-lib\net8.0-lib.csproj:

<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages