I have tried creating a syntax highlighter for a custom file definition. I get an exception when its loaded. I have added the /log parameter to devenv to get a log.
335 ERROR System.Exception: Duplicate EditorFormatDefinition exports with identical NameAttribute metadata exist. Duplicate name attribute is COMMENT Editor or Editor Extension 2010/08/18 06:47:56.726
336 ERROR System.Exception: Duplicate EditorFormatDefinition exports with identical NameAttribute metadata exist. Duplicate name attribute is STRING Editor or Editor Extension 2010/08/18 06:47:56.730
337 ERROR System.Exception: Duplicate EditorFormatDefinition exports with identical NameAttribute metadata exist. Duplicate name attribute is COMMENT Editor or Editor Extension 2010/08/18 06:47:57.046
338 ERROR System.Exception: Duplicate EditorFormatDefinition exports with identical NameAttribute metadata exist. Duplicate name attribute is STRING Editor or Editor Extension 2010/08/18 06:47:57.048
339 ERROR System.Exception: Duplicate EditorFormatDefinition exports with identical NameAttribute metadata exist. Duplicate name attribute is COMMENT Editor or Editor Extension 2010/08/18 06:47:57.078
340 ERROR System.Exception: Duplicate EditorFormatDefinition exports with identical NameAttribute metadata exist. Duplicate name attribute is STRING
I cannot find any duplicates in my code. If needed code can be provided.
Best regards, Michael