Could not load file or assembly or one of its dependencies Microsoft.VisualStudio.Shell.Immutable.10.0, Version=


After digging and digging everywhere I came back here.

The issue is the following: I need to setup on my local machine a website but I'm stuck here:

Could not load file or assembly 'Microsoft.VisualStudio.Shell.Immutable.10.0, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

I enabled assembly bind failure logging (Fusion) in .NET and the page when the site is loaded shows this:

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable  c:\windows\system32\inetsrv\w3wp.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.Shell.Immutable.10.0, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: Appbase = file:///C:/x/y/z/t/Build/Instance/Website/
LOG: Initial PrivatePath = C:\x\y\z\t\Build\Instance\Website\bin
Calling assembly : Microsoft.VisualStudio.Shell.10.0, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\x\y\z\t\Build\Instance\Website\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.VisualStudio.Shell.Immutable.10.0, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

I added the requested dll to gac:

gacutil -i Microsoft.VisualStudio.Shell.Immutable.10.0.dll

But still no results, as the gac adds the version

 Microsoft.VisualStudio.Shell.Immutable.10.0, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL

I can't find anywhere what references that specific version of dll. Any ideas what else I can do ?

asked on Stack Overflow Jul 16, 2020 by iusmar

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0