Found multiple publish output files with the same relative path: appsettings.json
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?
You'll need to fix the solution design. It is not possible to host two different Web API projects on one domain. Either combine the Web API projects into one or publish to two different domains.
Sign in to comment