I'm using visual studio 2019 community version and the package manager console. I am using .net core 2.2 and Package References is enabled. I want to be able to create one single nuget pack coreproj1 which will also include the dlls for Coreproj2 and coreProj3, without having to pack CoreProj2 and CoreProj3 as there are many projects and packing them all is not feasible. I've looked online and cannot find a clear solution as not many of them are using package reference
CoreProj1 references CoreProj2 and CoreProj3 CoreProj2 and CoreProj3 do not reference anything
I'm currently using
dotnet pack "full project path" --output "outputPath"
When i try to install the package i get the following error (i get the same error for CoreProj3)
Error NU1101 Unable to find package CoreProj2. No packages exist with this id in source(s): LocalPackages, Microsoft Visual Studio Offline Packages, nuget.org, TestNuget source\repos\TestNuget\TestNuget\TestNuget.csproj 1