VSSpellChecker icon indicating copy to clipboard operation
VSSpellChecker copied to clipboard

AD1000 warning after recent update

Open vidoa opened this issue 1 year ago • 6 comments

After the last update (I believe version 2023.5.8.0), there is a VS warning (see below). I'm using VS Pro 2017 v 15.9.42 As I could see the VisualStudio.SpellChecker.CodeAnalyzer.dll file was in the specified folder. I guess it wasn't the right version. The warning disappear after reinstalling an older version of the Visual Studio Spell Checker.

Severity Code Description Project File Line Suppression State Warning AD1000 An instance of analyzer VisualStudio.SpellChecker.CodeAnalyzer.CSharpSpellCheckCodeAnalyzer cannot be created from C:\USERS\VIDO\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_70D54E06\EXTENSIONS\0434OAVB.3B4\VisualStudio.SpellChecker.CodeAnalyzer.dll: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.. 1 Active

vidoa avatar May 12 '23 16:05 vidoa

Where are you seeing these? I know it doesn't load the analyzer but I didn't see any errors when testing the combined 2017/2019 version in VS 2017 on my PC.

EWSoftware avatar May 12 '23 17:05 EWSoftware

In the "Error List" window where the error, warnings and messages are displayed. See the screenshot below. image

vidoa avatar May 12 '23 17:05 vidoa

And the current Spell Checker files in ...\AppData\Local\Microsoft\VisualStudio\15.0_70d54e06\Extensions\eapaa2of.mcf\ folder.

image

vidoa avatar May 12 '23 17:05 vidoa

Okay, I don't have the error list open or use it that much so I missed it. I was expecting the usual info bar or dialog box if it failed to load so thought it was just ignoring it. I'll have to separate the 2017 version out into its own extension that doesn't include it since the version of code analyzer API used by 2017 is too old and is missing some key features I need to support what I need to do.

EWSoftware avatar May 13 '23 19:05 EWSoftware

Where is this older version as I'm in the same boat?

Severity Code Description Project File Line Suppression State Warning AD1000 An instance of analyzer VisualStudio.SpellChecker.CodeAnalyzer.CSharpSpellCheckCodeAnalyzer cannot be created from C:\USERS\MICHA\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_22111A9E\EXTENSIONS\N2EWEJPL.XG0\VisualStudio.SpellChecker.CodeAnalyzer.dll: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.. 1 Active

msilveus avatar Jan 19 '24 16:01 msilveus

Older releases can be downloaded from the Releases page

EWSoftware avatar Jan 19 '24 17:01 EWSoftware