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

Failed: command 'dotnet-sdk.acquireStatus' not found. #4566

Closed
tati-frog opened this issue May 23, 2021 · 1 comment
Closed

Failed: command 'dotnet-sdk.acquireStatus' not found. #4566

tati-frog opened this issue May 23, 2021 · 1 comment

Comments

@tati-frog
Copy link

Environment data

dotnet --info output:

.NET SDK (reflecting any global.json):
 Version:   5.0.203
 Commit:    383637d63f

Runtime Environment:
 OS Name:     debian
 OS Version:  11
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /usr/share/dotnet/sdk/5.0.203/

Host (useful for support):
  Version: 5.0.6
  Commit:  478b2f8c0e

.NET SDKs installed:
  5.0.203 [/usr/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 5.0.6 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.15 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.6 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download

VS Code version: 1.56.2
C# Extension version: v1.23.11

OmniSharp log

The extension doesn't initialize so omnisharp its not running, so no log.

Steps to reproduce

  1. Install the extension
  2. Open a dotnet project

Expected behavior

I expect the extension to initialize correctly.

Actual behavior

I receive this error in the console Activating extension 'ms-dotnettools.csharp' failed: command 'dotnet-sdk.acquireStatus' not found., also, I receive similar errors with every operation I try to do with the extension.

For example, when I try to run the command CSharp: Report an issue I receive this error in the notifications panel of vscode Command 'CSharp: Report an issue' resulted in an error (command 'csharp.reportIssue' not found) or when I try to run the command OmniSharp: Analyze current project I receive the error Command 'OmniSharp: Analyze current project' resulted in an error (command 'o.reanalyze.currentProject' not found)

@tati-frog tati-frog changed the title Extension gives an error when getting activated. Failed: command 'dotnet-sdk.acquireStatus' not found. May 23, 2021
@tati-frog
Copy link
Author

I removed all my extensions manually from the extensions folder, reinstalled, and now it works!

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

1 participant