Sunday, April 21, 2013

Issue defining VSIX dependency with Visual Studio 2012


If you use the Visual Studio 2012 manifest designer to define a dependency between one VSIX and another you will end up with this compilation error

Error 10 The 'DisplayName' attribute is invalid -
The value 'TextHighlighterConfiguration;VSIXNameProjectOutputGroup|'
is invalid according to its datatype 'String' -
The actual length is greater than the MaxLength value.
C:\Users\frederic.torres\Desktop\TextHighlighterExtensionV20\TextHighlighterExtension\source.extension.vsixmanifest
TextHighlighterExtension2012

Solution

Right click on the file source.extension.vsixmanifest select open with in <Dependency> tag defining your dependency reset the content of the attribut DisplayName with the name of your extension.


No comments:

Post a Comment