google-cloud-visualstudio icon indicating copy to clipboard operation
google-cloud-visualstudio copied to clipboard

not supported for VS 2019 version 16.11.23 it raise error "Could not load file or assembly Microsoft.VisualStudio.Shell.15.0"

Open Jomange20 opened this issue 3 years ago • 4 comments

After updating my VS2019 enterprise to the latest version 16.11.23 the Google cloud platform tool raised and error and I had tried to reinstall it many times also tried to install it using visx file but I got the same error:

Also you should reply to us as i'm noticing you no longer care or support this tool!

CreateInstance failed for package [GoogleCloudExtensionPackage]Source: 'mscorlib' Description: Could not load file or assembly 'Microsoft.VisualStudio.Shell.15.0, Version=17.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=17.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=17.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].

Jomange20 avatar Feb 28 '23 01:02 Jomange20

Same issue here in VS2019. Also tried to install VS2017 but got the same error there.

Any solution? Cant deploy a ASP.NET application now https://cloud.google.com/tools/visual-studio/docs/deploy-asp-net-app

milanvogels avatar Mar 21 '23 11:03 milanvogels

@Jomange20

Installing the previous version of this extension fixed it for me: https://github.com/GoogleCloudPlatform/google-cloud-visualstudio/releases/tag/2.0.4

milanvogels avatar Mar 21 '23 12:03 milanvogels

Thank you @milanvogels , version 2.0.4 worked perfectly.

Jomange20 avatar Mar 22 '23 00:03 Jomange20

@Jomange20

Installing the previous version of this extension fixed it for me: https://github.com/GoogleCloudPlatform/google-cloud-visualstudio/releases/tag/2.0.4

you are the man of the year.

Rabcat-dome avatar Aug 12 '23 02:08 Rabcat-dome