GoogleCloudPlatform / google-cloud-visualstudio

Google Cloud Tools for Visual Studio
https://cloud.google.com/tools/visual-studio/docs/
Apache License 2.0
87 stars 51 forks source link

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

Open Jomange20 opened 1 year ago

Jomange20 commented 1 year ago

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].

milanvogels commented 1 year ago

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 commented 1 year ago

@Jomange20

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

Jomange20 commented 1 year ago

Thank you @milanvogels , version 2.0.4 worked perfectly.

Rabcat-dome commented 1 year ago

@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.