Skip to content

Instantly share code, notes, and snippets.

@JustinGrote
Created February 22, 2023 21:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JustinGrote/9f031ef2ddfa56890f745142369a6027 to your computer and use it in GitHub Desktop.
Save JustinGrote/9f031ef2ddfa56890f745142369a6027 to your computer and use it in GitHub Desktop.
Enable Intellisense for .csproj files in Visual Studio Code
//NOTE: Your .csproj file MUST have a dummy <Target Name='MakeSchemaHappy' /> to satisfy the schema or you will get an error
{
"xml.fileAssociations": [
{
"pattern": "**/*.csproj",
"systemId": "https://raw.githubusercontent.com/dotnet/msbuild/main/src/MSBuild/Microsoft.Build.xsd"
}
],
"xml.validation.namespaces.enabled": "onNamespaceEncountered"
}
@JustinGrote
Copy link
Author

Capture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment