Skip to content

Documentation for ConfigurationSchema.json #963

Answered by DamianEdwards
Falco20019 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, VS is bringing in project targets that collect up the JsonSchemaSegment items that are added by the targets imported by the component packages. This is then processed when the appsettings.json file is opened and the schema is dynamically generated into a location under the the obj directory and the editor is pointed at that file as the schema.

Our intent is to move this logic out of VS and into the base .NET SDK so that this mechanism can be used by any NuGet package to dynamically contribute JSON schema to related files within the projects the package is added to. The actual schema generation still needs to be triggered by some gesture, e.g. a JSON file being opened in the IDE, a ta…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@KalleOlaviNiemitalo
Comment options

@DamianEdwards
Comment options

@KalleOlaviNiemitalo
Comment options

Answer selected by Falco20019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants