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

Command Select Project fails with extension manifest validation error #4944

Closed
mauve opened this issue Dec 10, 2021 · 8 comments
Closed

Command Select Project fails with extension manifest validation error #4944

mauve opened this issue Dec 10, 2021 · 8 comments

Comments

@mauve
Copy link

mauve commented Dec 10, 2021

Issue Description

Steps to Reproduce

  • Ctrl-Shift-P: "OmniSharp: Select project"
  • Error is shown
    image

Expected Behavior

Opens up the project picker.

Actual Behavior

image

Command 'OmniSharp: Select Project' resulted in an error (Extension 'ms-dotnettools.csharp' CANNOT use API proposal: quickPickSeparators. Its package.json#enabledApiProposals-property declares: [] but NOT quickPickSeparators. The missing proposal must be added...

Logs

OmniSharp log

Post the output from Output-->OmniSharp log here

C# log

Post the output from Output-->C# here

Environment information

VSCode version: 1.63.0
C# Extension: 1.23.17

Mono Information OmniSharp using built-in mono
Dotnet Information .NET SDK (reflecting any global.json): Version: 6.0.100 Commit: 9e8b04bbff

Runtime Environment:
OS Name: ubuntu
OS Version: 20.04
OS Platform: Linux
RID: ubuntu.20.04-x64
Base Path: /usr/share/dotnet/sdk/6.0.100/

Host (useful for support):
Version: 6.0.0
Commit: 4822e3c3aa

.NET SDKs installed:
2.1.818 [/usr/share/dotnet/sdk]
3.1.415 [/usr/share/dotnet/sdk]
5.0.403 [/usr/share/dotnet/sdk]
6.0.100-rc.1.21458.32 [/usr/share/dotnet/sdk]
6.0.100 [/usr/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.All 2.1.30 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.30 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.21 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.12 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0-rc.1.21452.15 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.30 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.21 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.12 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.1.21451.13 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

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

Visual Studio Code Extensions
Extension Author Version
azure-account ms-vscode 0.9.11
azure-pipelines ms-azure-devops 1.195.0
cmake twxs 0.0.17
cmake-tools ms-vscode 1.9.2
cpptools ms-vscode 1.8.0-insiders2
csharp ms-dotnettools 1.23.17
dotnet-test-explorer formulahendry 0.7.7
EditorConfig EditorConfig 0.16.4
jupyter ms-toolsai 2021.11.1001550889
jupyter-renderers ms-toolsai 1.0.4
live-server ms-vscode 0.2.11
LiveServer ritwickdey 5.6.1
prettier-vscode esbenp 9.0.0
python ms-python 2021.12.1559732655
sass-indented syler 1.8.18
test-adapter-converter ms-vscode 0.1.4
vetur octref 0.35.0
vscode-azureappservice ms-azuretools 0.23.0
vscode-azurefunctions ms-azuretools 1.6.0
vscode-azureresourcegroups ms-azuretools 0.4.0
vscode-azurestaticwebapps ms-azuretools 0.9.0
vscode-bicep ms-azuretools 0.4.1008
vscode-docker ms-azuretools 1.18.0
vscode-dotnet-runtime ms-dotnettools 1.5.0
vscode-eslint dbaeumer 2.2.2
vscode-kubernetes-tools ms-kubernetes-tools 1.3.4
vscode-pylance ms-python 2021.12.1
vscode-test-explorer hbenl 2.21.1
vscode-yaml redhat 1.2.2
vsliveshare ms-vsliveshare 1.0.5196
xml DotJoshJohnson 2.5.1
@TanayParikh
Copy link
Contributor

Getting the same error:

Command 'OmniSharp: Select Project' resulted in an error (Extension 'ms-dotnettools.csharp' CANNOT use API proposal: quickPickSeparators.
Its package.json#enabledApiProposals-property declares: [] but NOT quickPickSeparators.
The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api ms-dotnettools.csharp)

@JoeRobich
Copy link
Member

Issue was fixed in #4914. Until a new release is ready you can install this prerelease that includes the fix https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.23.18-beta2

@jesperkristensen
Copy link

Does anyone know how to install an old working version until a fix is released? My VS Code is basically bricked now. (Installing a prerelease sounds a bit scary)

@PsychoNineSix
Copy link

Does anyone know how to install an old working version until a fix is released? My VS Code is basically bricked now. (Installing a prerelease sounds a bit scary)

Old version of omnisharp won't work, I believe it was broken by vscode 1.63, so you either move back to 1.62 or install the pre-release of omnisharp.

@OdisBy
Copy link

OdisBy commented Dec 14, 2021

Does anyone know how to install an old working version until a fix is released? My VS Code is basically bricked now. (Installing a prerelease sounds a bit scary)

Omnisharp can't be downgrade, but downgrading vscode you resolve this problem. https://code.visualstudio.com/updates/v1_62

@CEbbinghaus
Copy link

Even after installing the latest prerelease this issue still occurs.

image

Is there prerelease versions which don't include the fix and I need to download exactly 1.23.18?

@tabish121
Copy link

I found that the solution was to completely uninstall the old version and then choose the extension vsix file for my platform from the beta release page and install that:
https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.23.18-beta2

@JoeRobich
Copy link
Member

There have been lots of improvements since this issue was opened. Please open a new issue with logs if you are still running into this.

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

No branches or pull requests

9 participants