Skip to content

version.schema.json is UTF-8 with BOM, VSCode expects no BOM #839

@amis92

Description

@amis92

Description

Visual Studio Code complains that the version.schema.json file contains a BOM, when referencing https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json as $schema.

Impact

Currently, just a warning squiggle is shown, but the schema is correctly resolved and intellisense works.
I do not know whether this will work in future, but for now it's just irritating to see warnings when everything is actually fine.

image

Suggested Solution

Remove BOM from the version.schema.json. It shouldn't negatively impact any tooling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions