A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Why is there duplicate schema text in the appsettingsschema.json?
Falanga, Rod, DOH
1,190
Reputation points
An application that I've help write and now maintain, is putting this text into Visual Studio 2026's Output window:
There are problems with this document's schema impacting one or more items in the document. Please report this issue to schema owner.
Items must be unique
at (line 1094, column 9) in document C:\GitHub\Prod\FPTimetrackCore\FPTimetrackCore\FPTimetrackCore\FPTimetrackCore\obj\Debug\net9.0\appsettingsschema.json
at schema text "CredentialSource"
It is in that window twice.
Why is it there? I've not created it. And as you can see it is in the obj folder, which is ignored in the Git repo. I've checked the appsettingsschema.json in the indicated folder, and it does have two instances of "CredentialSource" in it. I presume the appsettingsschema.json file is created by VS 2026 during a build.
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
Sign in to answer