Caffeinated Coder
Book an appointment
Lesson 21 · Advanced .NET

Projects, builds and NuGet

Every .NET app is a project: a folder plus a .csproj file that MSBuild reads. Follow an app that uses a library project of your own (a ProjectReference) and the NuGet package Newtonsoft.Json (a PackageReference): restore picks version 13.0.3 and the lib/net6.0 DLL, MSBuild builds Greeter first and gathers three DLLs in App/bin/Debug/net8.0/, a rebuild skips what is up to date, and dotnet pack turns your library into a package.

14 min10 steps5 questionsBeginner
Fig 21 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.