Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"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?

like image 740
JBSnorro Avatar asked Jul 28 '18 11:07

JBSnorro


1 Answers

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.

like image 65
JBSnorro Avatar answered Oct 28 '22 16:10

JBSnorro