Closed burakt91 closed 5 years ago
Oh, I just found that it says "BuildOnSave is an extension for Visual Studio 2019 and 2017". But i installed it from the Extension Manager in VS. And it says it's compatible with VS 2015.
Thank you for the report, I've never tested recent versions of BuildOnSave with VS 2015.
I'll remove the indication from the marketplace and may give it a shot to backporting it. In the meantime, an older version 0.32 should probably work with VS2015: https://github.com/pragmatrix/BuildOnSave/releases/tag/0.32
Thank you for the response. I've tested 0.32 on VS2015 and it works normally.
I've reproduced the load error with a VM installation of VS2015:
<entry>
<record>420</record>
<time>2019/05/08 12:39:44.840</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [BuildOnSavePackage]Source: 'mscorlib' Description: Could not load file or assembly 'Microsoft.VisualStudio.Shell.Framework, 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.Framework, 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.Framework, 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].
</description>
<guid>{CE5FB4CB-F9C4-469E-AC59-647EB754148C}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo></errorinfo>
</entry>
I've released a new version 0.35 without support for VS2015 and updated the marketplace description accordingly.
Closing this in favor of #61.
I'm using VS 2015 version: 14.0.25420.1. When I try to use the extension, it gives me this message and i can't use the extension.
Here is my ActivityLog.xml file: