Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GoogleCloudExtensionPackage did not load properly error in VS 2019 Community #1146

Open
cluemaster-robert opened this issue Feb 3, 2023 · 5 comments

Comments

@cluemaster-robert
Copy link

It was working fine and then I also installed VS 2022 to get ready to upgrade. I installed the Google extension into VS 2022 and it gives an instant error with no debug messages and now my VS 2019 will no longer load the Google Could Extension. I have uninstalled everything for both versions of VS, deleted the programs folder, the %appdata% folders, and anything I can think of. I reinstalled VS 2019, and the Google Could Extension but it just errors every time VS starts up. The .XML log says it can't find this.

<time>2023/02/03 21:58:46.001</time> <type>Error</type> <source>VisualStudio</source> <description>CreateInstance failed for package [GoogleCloudExtensionPackage]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>{3784FD98-7FCC-40FC-BE3B-B68334735AF2}</guid> <hr>80004005 - E_FAIL</hr> <errorinfo></errorinfo>

@mflorios
Copy link

mflorios commented Feb 8, 2023

Hello, i have the same problem. Tried to install the extension many times, but always shows the same error.

@Jomange20
Copy link

I have the same issue and they seems no longer care to fix this tool or even reply to us

@milanvogels
Copy link

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

@cluemaster-robert
Copy link
Author

cluemaster-robert commented Mar 21, 2023 via email

@TimMackey
Copy link

I am having the same issue. I cannot fall back to a previous version.
My function needs .NET Core 3.1 which is supposedly supported in version 2.0.5 release.
Google Team, do you have an ETA for a fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants