I don't know if it solves your specific scenario, but I do know that there's been some work done in this area.
See https://github.com/dotnet/source-build#net-core-build-script... and https://github.com/dotnet/arcade#arcade
See https://github.com/dotnet/source-build#net-core-build-script... and https://github.com/dotnet/arcade#arcade
No comments yet.