swdc-visualstudio icon indicating copy to clipboard operation
swdc-visualstudio copied to clipboard

Microsoft.VisualStudio.Shell.15.0 missin in VS 2019 with 2.6.8

Open radaiko opened this issue 3 years ago • 7 comments

When I try to start Visual Studio with plugin version 2.6.8 it's not able to find the Microsoft.VisualStudio.Shell.15.0 package.

<entry> <record>642</record> <time>2021/11/15 12:27:07.630</time> <type>Error</type> <source>VisualStudio</source> <description>CreateInstance failed for package [CodeTimePackage]Source: &apos;mscorlib&apos; Description: Could not load file or assembly &apos;Microsoft.VisualStudio.Shell.15.0, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;System.IO.FileNotFoundException: Could not load file or assembly &apos;Microsoft.VisualStudio.Shell.15.0, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;File name: &apos;Microsoft.VisualStudio.Shell.15.0, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;&#x000D;&#x000A; at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)&#x000D;&#x000A; at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)&#x000D;&#x000A; at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)&#x000D;&#x000A; at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)&#x000D;&#x000A;&#x000D;&#x000A;WRN: Assembly binding logging is turned OFF.&#x000D;&#x000A;To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.&#x000D;&#x000A;Note: There is some performance penalty associated with assembly bind failure logging.&#x000D;&#x000A;To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].&#x000D;&#x000A;</description> <guid>{F8CB9EA8-4214-42D8-8B7F-5D6E6C5CF50E}</guid> <hr>80004005 - E_FAIL</hr> <errorinfo></errorinfo> </entry>

radaiko avatar Nov 15 '21 12:11 radaiko

We'll look into this today. Thank you for the information.

xavluiz avatar Nov 15 '21 17:11 xavluiz

Hi @radaiko, We've published v2.6.9 with the Microsoft.VisualStudio.Shell.15.0 dependency. Thanks.

xavluiz avatar Nov 15 '21 18:11 xavluiz

@xavlui, I tried only to update and to remove and make a fresh install with 2.6.9 but a got the same error again. "CodeTimePackage" package did not load correctly. When I check the ActictivyLog.xml I get the same error.

radaiko avatar Nov 16 '21 06:11 radaiko

Ok, thanks for the update. We'll look into our validation environment today.

xavluiz avatar Nov 16 '21 13:11 xavluiz

Hi @radaiko, Based on the extension development information per editor release, 2019 and 2022 will require either shared referencing for multi-targeted editor version builds or configuration based on installed target version. We'll look at adding this support in and provide an update soon. We apologize for the delay.

xavluiz avatar Nov 18 '21 18:11 xavluiz

Any news about this issue ??

albertoSantana28 avatar Mar 16 '22 19:03 albertoSantana28

Any news here?

SiL3NC3 avatar Apr 01 '23 23:04 SiL3NC3