Wumpf / VSSolutionColor

Visual Studio extension to change title bar color depending on the current solution
41 stars 18 forks source link

Release 1.5 does not start any more in vs2015 #14

Closed Domderon closed 5 years ago

Domderon commented 5 years ago

After the update to 1.5 the extension does not run any more in VS Professional 2015, Version 14.0.25431.01 Update 3.

Here's the error log:

CreateInstance failed for package [SolutionColorPackage]Source: 'mscorlib' Description: Could not load file or assembly 'Microsoft.VisualStudio.Shell.15.0, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Shell.15.0, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.Shell.15.0, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type) at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase) at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo) at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName) 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].

Wumpf commented 5 years ago

@Domderon Sorry I broke it for you! I assumed VS2015 compatibility blindly and did no testing since I no longer have an install of it. I attempted a fix and think it is promising, could you confirm for me that this https://www.dropbox.com/s/hconybmcy1ytffe/SolutionColor.vsix?dl=0 version works? Thank you!

Wumpf commented 5 years ago

Confirmed it working on someone else's computer :)

Domderon commented 5 years ago

Thanks for the quick fix! I wasn't able to check earlier due to the Easter holiday, but I can confirm it working now. :)

Wumpf commented 5 years ago

No worries! Thanks for confirming :)