JBSnorro
JBSnorro

Reputation: 6716

"Missing or unspecified Language attribute" when importing snippets

When importing a directory containing snippets in the Code Snippet Manager in VS2017 (v15.7.5), in the Output pane I get the warning

Missing or unspecified Language attribute

even though a language attribute is present. I even get this when importing Microsofts own snippets. The snippets are for C#.

How to import the snippets?

Upvotes: 5

Views: 4982

Answers (1)

JBSnorro
JBSnorro

Reputation: 6716

At the top of the Code Snippet Manager there is a dropdown where you have to select the language for which you're importing snippets; if a different language is selected you could get this warning.

Upvotes: 6

Related Questions