nick-gravgaard / AlwaysAlignedVS

Elastic tabstops for Visual Studio
MIT License
122 stars 7 forks source link

Crashes on Load under VS 2015 #4

Open i-e-b opened 7 years ago

i-e-b commented 7 years ago

Using release https://github.com/nickgravgaard/AlwaysAlignedVS/releases/tag/2017.0.0 I assume that VisualStudio 2015 isn't supported, but it's not mentioned in the docs.

This extension works like a charm on VS2017, but under 2015 it shows this error on start-up:

CreateInstance failed for package [AlwaysAlignedPackage]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)
DanTalash commented 7 years ago

I get exactly the same issue, and the same message shows up in my ActivityLog.xml

This is Visual Studio Pro 2015, running on Windows 7.

EtaoinWu commented 7 years ago

According to the author, this release version was build for VS2017.

DanTalash commented 7 years ago

Well that would explain it. Maybe the extension should not be installable under VS2015.

runkelz commented 7 years ago

Same here. Could be explained please.

R2D221 commented 6 years ago

Is there a way to convert it to VS2015?