© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
2 replies
Esa

Need help structuring a class library for internal tools

Hi there, I'm working on creating an internal tool for exposing some commonly used functionality that requires external binaries.

So we have a business critical core application that consists of many modules. These modules all have their own APIs available through .dll files. Assume
Customers.dll
Customers.dll
,
Finance.dll
Finance.dll
,
Products.dll
Products.dll
and so on. Each one of these have
IProductService
IProductService
and
IProductConfigurationService
IProductConfigurationService
for example.

When we create solutions, tools or integrations we often use some subselection of these modules, but rarely all. Currently we bake this into the solutions by moving the relevant binaries we'll be using into the repository so that it'll be available to the CI / CD pipelines.

But ideally I'd want to have this as a nuget package from our private nuget repo instead. So instead of finding the binaries we need and physically move them into our repo, I'd prefer something like
nuget install OurCoreApp.Customers
nuget install OurCoreApp.Customers
,
nuget install OurCoreApp.Products
nuget install OurCoreApp.Products
and for that to add the required binaries. That means we only have to update binaries in one place (the
OurCoreApp
OurCoreApp
solution that we use as a nuget package).
However I've never really done this before. I assume this means I'll create a class library called
OurCoreApp
OurCoreApp
, but how do I make the different modules available as separate nuget packages?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Deciding on a tech stack for internal tools
C#CC# / help
3y ago
Need help finding a library for a specific job
C#CC# / help
16mo ago
✅ need help with class
C#CC# / help
13mo ago
need help with a stack class implementation
C#CC# / help
3y ago