Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
✅ Should NuGet package be installed both in the main project and class library? - C#
C
C#
•
2y ago
•
13 replies
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
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
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
NuGet package project references
C
C# / help
17mo ago
❔ NetStandard Class Library installed nuget package dlls not going to bin when I reference
C
C# / help
3y ago
Nuget Package: Project Reference Mutli Runtime Targeting
C
C# / help
2y ago
❔ Execute / Run local project `.csproj` NuGet package
C
C# / help
3y ago