Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve the problem that can't select project using Omni Sharp on VS Core?

When I use the Omni Sharp to choose a project on VS Code, it occurs an error as follow:

 Command 'OmniSharp: Select Project' resulted in an error (Extension 'ms-dotnettools.csharp'CANNOT use API proposal: quickPickSeparators. 
lts packagejson#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)   

enter image description here

How can I fix the error?

like image 661
Hypocrisy Avatar asked Dec 09 '21 13:12

Hypocrisy


1 Answers

Have you already found this ticket?

https://github.com/OmniSharp/omnisharp-vscode/issues/4907

This must be caused by a bug related to the OmniSharp extension. For the moment, you can either down grade VS code to 1.62 or try to use pre release version of the extension mentioned in the ticket.

https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.23.18-beta2

Please note that you can install the downloaded vsix file inside VS code.

https://code.visualstudio.com/docs/editor/extension-marketplace#_install-from-a-vsix

like image 59
Ryo Asai Avatar answered Oct 15 '22 16:10

Ryo Asai