question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error on extension load

See original GitHub issue

Product in use: VS extension Version in use: Probably 6.2.0 VS version: 2017 - exact version unknown

2 reports nearly 2 months apart of this error, reported at https://marketplace.visualstudio.com/items?itemName=SharpDevelopTeam.CodeConverter#qna

LegacySitePackage failed for package [REConverterPackage]Source: 'CodeConverter.VsExtension' Description: Could not load file or assembly 'Microsoft.VisualStudio.LanguageServices, Culture=neutral' or one of its dependencies. The system cannot find the file specified. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.LanguageServices, Culture=neutral' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.LanguageServices, Culture=neutral'
 at CodeConverter.VsExtension.ConvertCSToVBCommand..ctor(REConverterPackage package)
 at CodeConverter.VsExtension.REConverterPackage.Initialize() in D:\GitWorkspace\CodeConverter\Vsix\REConverterPackage.cs:line 100
 at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. 

This could be due to a change in the assemblies shipped with Visual Studio, caused by corrupt installs (or ones with certain features not installed). Needs investigation, but it’s very hard without being able to repro the problem. It basically comes down to having a look in the visual studio folder for this assembly, then finding out from the fusion log why it isn’t loaded.

On my machine (where this works), the assembly is this one:

Microsoft.VisualStudio.LanguageServices.dll	2.10.0.0
c:\program files (x86)\microsoft visual studio\2017\professional\common7\ide\commonextensions\microsoft\managedlanguages\vbcsharp\languageservices\Microsoft.VisualStudio.LanguageServices.dll

The version number matches with this extension in the Extensions and Updates window: image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Feb 7, 2019

Hi @GrahamTheCoder, release 6.4.0 starts up just fine! Thanks for the quick answer!

0reactions
GrahamTheCodercommented, Mar 3, 2019

The dependencies and startup massively changed in 6.3. I’ll close this until I hear a report from a new version and then try to get an activity log and fusion log.

Read more comments on GitHub >

github_iconTop Results From Across the Web

7 Reasons Why Chrome Fails to Load Extensions and How ...
7 Reasons Why Chrome Fails to Load Extensions and How to Fix Them · 1. Interference by Similar Extensions · 2. Outdated Extensions...
Read more >
Top 7 Ways to Fix Google Chrome Failed to Load Extension
Top 7 Ways to Fix Google Chrome Failed to Load Extension · 1. Restart Google Chrome · 2. Update Extension · 3. Reinstall...
Read more >
Failed to Load Extension From Chrome: How to Fix it
Restart the computer. Switch to Incognito or Private browsing mode. You can access it by pressing Ctrl + Shift + N on Chromium-based...
Read more >
How to Fix If Chrome Fails to Load Extensions
Method 1: Reinstall Google Chrome · Method 2: Activate your extensions one-by-one · Method 3: Clear your browser cache · Method 4: Try...
Read more >
On startup Error message - Failed to load extension firmwear
On startup Error message - Failed to load extension firmwear: C:WINDOWS\system.32\tower_main. Manifest is missing or unreadable.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found