AntoineRNT
AntoineRNT

Reputation: 301

Visual Studio perpetually reinstalls Cloud SDK

I have Visual Studio installed on Manjaro. After the last system update, Visual Studio stopped working with the Cloud Code extension. It perpetually installs and uninstalls the extension and throws the next error message:

Cloud SDK was installed but was found to be invalid or corrupted so it was removed. Attempting to reinstall. Managed dependencies will be unavailable during this process. (install attempt 1)

I tried to reinstall the SDK, the extension, and the Visual Studio. Nothing changes at all.

Upvotes: 8

Views: 2376

Answers (2)

Dan Ortega
Dan Ortega

Reputation: 1899

It also happened to me and would take lots of resources to start each vscode window. My best solution was to use locally installed dependencies by setting the cloudcode.autoDependencies to off. It's worked like a charm since then.

Reference and needed dependencies: https://cloud.google.com/code/docs/vscode/install#custom_versions_of_dependencies

Upvotes: 1

Gourav B
Gourav B

Reputation: 972

I am able to install Cloud Code without any any issues, using the below steps as provided here. This includes the dependencies like Cloud SDK, kubectl etc.

Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.

ext install GoogleCloudTools.cloudcode

Upvotes: 0

Related Questions