Usually, each assembly == a NuGet package == a project.json.
A good example of a solution with multiple assemblies is Mvc.
The ASP.NET team uses KoreBuild, an internal (but public) too to orchestrate the build. The idea is that it calls dotnet/dnu
build/pack/publish on the projects. KoreBuild looks for projects under src
, test
, and samples
.
Both with dnu
and dotnet
it's easy to build an entire project graph:
dnu
supports globbing patterns so you can do somethig like dnu build src/**
and it will figure out the graph in that folder.
dotnet
already knows what was compiled before so you don't need to care. Just call dotnet build
on each project and it will rebuild it's dependencies if necessary.