What's the best practice for building a CoreCLR/DNX project comprised of multiple assemblies?
Would there be a project.json for each assembly and would each need to be manually built using a custom script or can the existing build tools walk these dependencies and build everything itself?
Are there any examples of projects like this?
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/dnubuild/pack/publish on the projects. KoreBuild looks for projects undersrc,test, andsamples.Both with
dnuanddotnetit's easy to build an entire project graph:dnusupports globbing patterns so you can do somethig likednu build src/**and it will figure out the graph in that folder.dotnetalready knows what was compiled before so you don't need to care. Just calldotnet buildon each project and it will rebuild it's dependencies if necessary.