.net core system.configuration.configurationmanager

I think this was the related issue

For .net framework the solution was to reference ref but only copy lib. So for core its reference ref but only us lib in the deps.json