- changed status to resolved
Error shown when I was comparing two folders
I was doing a folder compare in VS and when double clicking a .ps1 that was different, the file compare opened and an error dialog was shown. I forget the text but its the one that says something like "An error was encountered, please check the activity log"
The VS instance has been open for a few hours. I had two VS open at the time.
VS 15.8.7 PSVersionTable PS C:\Temp> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.17134.228
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17134.228
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
I could dismiss the error and keep working without any visible issue.
Here is the error from the activity log....
System.ArgumentException: Item has already been added. Key in dictionary: 'ScriptAnalyzerQuickFixer' Key being added: 'ScriptAnalyzerQuickFixer'
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Collections.Hashtable.Add(Object key, Object value)
at System.Collections.Specialized.HybridDictionary.Add(Object key, Object value)
at Microsoft.VisualStudio.Utilities.PropertyCollection.AddProperty(Object key, Object property)
at PowerShellTools.QuickFix.ScriptAnalysisSuggestedActionsSourceProvider.CreateSuggestedActionsSource(ITextView textView, ITextBuffer textBuffer)
at Microsoft.VisualStudio.Language.Intellisense.Implementation.LightBulbBroker.<>c__DisplayClass50_0.<CreateSourcesForBuffer>b__0(ISuggestedActionsSourceProvider provider)
at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InvokeMatchingFactoriesTExtensionInstance,TExtensionFactory,TMetadataView
Comments (1)
-
- Log in to comment
Issue has been resolved with fix for
#22