Found multiple publish output files with the same relative path: appsettings.json

Yahya Usman
21
Reputation points
Hi
I have an asp.net core Web API project with an appsettings.json file. This project in turn references an MS Graph project which has its own appsettings.json with MS Graph configuration values.
When solution is published understandably it complains of the two appsettings.json going into the same publish folder.
As far as I can see I need both appsettings.json files. How can I resolve this issue?
Thanks
Regards
{count} votes