I just opened a LESS file in VS 2015 Update 3 and got the following exception:
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at MadsKristensen.EditorExtensions.VendorHelpers.GetPrefixes(ICssSchemaInstance schema) in C:\projects\webessentials2015\EditorExtensions\Shared\Helpers\Css\VendorHelpers.cs:line 47
at MadsKristensen.EditorExtensions.AtDirectiveExtensions.<GetPossibleVendorSpecifics>d__3.MoveNext() in C:\projects\webessentials2015\EditorExtensions\Shared\ExtensionMethods\AtDirectiveExtensions.cs:line 52
at MadsKristensen.EditorExtensions.AtDirectiveExtensions.<GetMissingVendorSpecifics>d__2.MoveNext() in C:\projects\webessentials2015\EditorExtensions\Shared\ExtensionMethods\AtDirectiveExtensions.cs:line 41
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at MadsKristensen.EditorExtensions.Css.MissingVendorDirectiveSmartTagProvider.<GetSmartTagActions>d__2.MoveNext() in C:\projects\webessentials2015\EditorExtensions\CSS\SmartTags\Providers\MissingVendorDirectiveSmartTagProvider.cs:line 35
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at MadsKristensen.EditorExtensions.Css.CssSmartTagger.GetTags(NormalizedSnapshotSpanCollection spans) in C:\projects\webessentials2015\EditorExtensions\CSS\SmartTags\CssSmartTagger.cs:line 146
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTagsForBuffer>d__38.MoveNext()
AFAIK that's the first time this has happened for that file, but I couldn't reproduce it now when I tried... :(
I just opened a LESS file in VS 2015 Update 3 and got the following exception:
AFAIK that's the first time this has happened for that file, but I couldn't reproduce it now when I tried... :(