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.

Installation errors (VS 2017 RTM/R# 2017.1 EAP 4)

See original GitHub issue

image

Error resolving type Microsoft.VisualStudio.Text.ITextBuffer from assembly “Microsoft.VisualStudio.Text.Data, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”, request originating from assembly “GammaJul.ReSharper.EnhancedTooltip, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null”. Could not find a referenced assembly by the TT_ASSEMBLYREF token.
Error resolving type Microsoft.VisualStudio.Editor.IVsEditorAdaptersFactoryService from assembly “Microsoft.VisualStudio.Editor, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”, request originating from assembly “GammaJul.ReSharper.EnhancedTooltip, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null”. Could not find a referenced assembly by the TT_ASSEMBLYREF token.
Error resolving type Microsoft.VisualStudio.Text.Classification.IClassificationFormatMapService from assembly “Microsoft.VisualStudio.Text.UI.Wpf, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”, request originating from assembly “GammaJul.ReSharper.EnhancedTooltip, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null”. Could not find a referenced assembly by the TT_ASSEMBLYREF token.
Error resolving type Microsoft.VisualStudio.Text.Classification.IEditorFormatMapService from assembly “Microsoft.VisualStudio.Text.UI.Wpf, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”, request originating from assembly “GammaJul.ReSharper.EnhancedTooltip, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null”. Could not find a referenced assembly by the TT_ASSEMBLYREF token.
Error resolving type Microsoft.VisualStudio.Text.Classification.IClassificationFormatMap from assembly “Microsoft.VisualStudio.Text.UI.Wpf, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”, request originating from assembly “GammaJul.ReSharper.EnhancedTooltip, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null”. Could not find a referenced assembly by the TT_ASSEMBLYREF token.
Error resolving type Microsoft.VisualStudio.Text.Classification.IClassificationFormatMap from assembly “Microsoft.VisualStudio.Text.UI.Wpf, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”, request originating from assembly “GammaJul.ReSharper.EnhancedTooltip, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null”. Could not find a referenced assembly by the TT_ASSEMBLYREF token.
Error resolving type Microsoft.VisualStudio.Text.Classification.IClassificationFormatMapService from assembly “Microsoft.VisualStudio.Text.UI.Wpf, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”, request originating from assembly “GammaJul.ReSharper.EnhancedTooltip, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null”. Could not find a referenced assembly by the TT_ASSEMBLYREF token.
Error resolving type Microsoft.VisualStudio.Text.Classification.IClassificationTypeRegistryService from assembly “Microsoft.VisualStudio.Text.Logic, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”, request originating from assembly “GammaJul.ReSharper.EnhancedTooltip, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null”. Could not find a referenced assembly by the TT_ASSEMBLYREF token.
Error resolving type Microsoft.VisualStudio.Text.Classification.IClassificationFormatMapService from assembly “Microsoft.VisualStudio.Text.UI.Wpf, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”, request originating from assembly “GammaJul.ReSharper.EnhancedTooltip, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null”. Could not find a referenced assembly by the TT_ASSEMBLYREF token.
Error resolving type Microsoft.VisualStudio.Text.Classification.IClassificationTypeRegistryService from assembly “Microsoft.VisualStudio.Text.Logic, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”, request originating from assembly “GammaJul.ReSharper.EnhancedTooltip, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null”. Could not find a referenced assembly by the TT_ASSEMBLYREF token.

InstallerLog2017-03-10T17-28-09.txt

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:35 (7 by maintainers)

github_iconTop GitHub Comments

7reactions
MrJulcommented, Apr 27, 2018

You don’t really need to copy the Microsoft.VisualStudio.Text.Data from an older VS version.

As described in RSRP-463582, ReSharper only looks into the PublicAssemblies and PrivateAssemblies folders (in the Visual Studio install directory) when searching for dependencies (edit: it also searches the GAC). However, Microsoft.VisualStudio.Text.Data is located in CommonExtensions\Microsoft\Editor so ReSharper doesn’t find it. Note that Visual Studio itself has no problem loading it: it’s only ReSharper checking in advance that all assemblies will be resolved, with a different algorithm from VS, that causes problems.

A simpler workaround might be to copy or symlink/hardlink CommonExtensions\Microsoft\Editor\Microsoft.VisualStudio.Text.Data.dll to PrivateAssemblies\Microsoft.VisualStudio.Text.Data.dll. No need for an older version of VS or extracting NuGet packages.

I can’t add it at as a dependency since we want to really use the assembly from the current Visual Studio’s version.

2reactions
n0dal93commented, Apr 27, 2018

@MrJul, thank you for responding and providing further insight. Your suggestion to use a symlink is much simpler.

Great plugin by the way! Its the only extension I find essential. Thank you for supporting the community and especially this plugin for all these years. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

On installing VS 2017 "I get Setup operation failed" error
Below is the complete log details: The product failed to install the listed workloads and components due to one or more package failures....
Read more >
Common issues and workarounds in Visual Studio setup
This article describes common issues during Visual Studio installation and provides suggested workarounds.
Read more >
error during installing visual studio 2017
Try this: Quit the VS 2017 installer setup and go to this location "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.TeamFoundation.
Read more >
Be the first to post for 'Setup Visual Studio or XCode'! - Ask
Had a long list of errors when installing. I tried uninstalling and reinstalling but i still get these errors. Anyone can help with...
Read more >
MSTest Unit Testing does not work (or fails with error) ...
I have been running my tests from resharper for some time now and it has been working just fine. But, recently I had...
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