C#C
C#17mo ago
Core

✅ Should NuGet package be installed both in the main project and class library?

Hello,
A NuGet package exposes some interfaces which I would like to implement, but the library also needs configuration, which must happen in Program.cs.
Should I only install the NuGet package in the class library and reference it in the main project, or install it in each project?
Was this page helpful?