TLDR: Everything is pretty much in the title.
Suppose that your project.json uses two packages that have a two types which are named th
project.json
There is no support for this at the moment. Feel free to file an issue in dotnet cli repo https://github.com/dotnet/cli/issues