So I have a solution with 6 projects, 2 for testing, one for API and 3 Class libs (BL, Common and Integration), I want to use some BL services inside other solution, I'm trying to create a NuGet package out of the BL project but I'm note sure what to do with the Common and the Integration project, because the BL project references them. So my question is should I create 3 separate NuGet packages (BL, Common and Integration) or will the BL be enough?
Asked
Active
Viewed 893 times
0
-
When the other projects have `
true ` and a `PackageId`, the build will replace the ProjectReferences with PackageReferences, or at least that's what happens in a Github build pipeline – Pieterjan Mar 18 '22 at 12:52 -
[This question already has an answer here](https://stackoverflow.com/questions/66893338/packagereference-to-project-in-the-same-solution-git-repository) – Pieterjan Mar 18 '22 at 13:02
1 Answers
0
If you need the other class libs (referenced directly or indirectly through BL) then you need to publish those nuget packages.

Cj S.
- 1,173
- 8
- 13
-
So i create 3 nugets and in BL i reference the other two nugets – Nikola Nikolic Mar 18 '22 at 12:49