vscode-csharp: Cannot select project with omnisharp because of quickPickSeparators

Issue Type: Bug

I’m using the insider build, at first I thought this was because of one machine, but now I have the same behavior on my Mac M1 and my Windows 11 device. Whenever I try to select a project I get the below.

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)

Extension version: 1.23.16 VS Code version: Code - Insiders 1.63.0-insider (Universal) (1e473b624f088fc05269891170a8ffa1c84a35a6, 2021-11-25T07:59:08.754Z) OS version: Darwin arm64 21.1.0 Restricted Mode: No

System Info
Item Value
CPUs Apple M1 Max (10 x 24)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 4, 5, 3
Memory (System) 64.00GB (16.10GB free)
Process Argv . --crash-reporter-id a3331069-8570-41bd-a870-a2bc43c4f676
Screen Reader no
VM 0%
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
pythonvspyt200:30323110
bridge0708:30335490
bridge0723:30353136
pythonrunftest32:30365365
pythonf5test824:30361779
javagetstartedt:30350119
pythonvspyt187:30365360
vsaa593:30376534
vsc1dst:30396469
pythonvs932:30404738
vscexrecpromptt2:30397559
vscop804cf:30404767
vs360:30404995

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 25
  • Comments: 25

Most upvoted comments

Quick downgrade command for linux users:

apt-get install code=1.62.3-1637137107

I’m a little surprised this is broken in the default shipping configuration of vscode and the fix hasn’t been deployed yet a month later. Given how important intellisense is, losing it makes vscode basically unusable. Priority up, please?

In my case my problem was fixed by looking at the sln file and checking that every project was referenced correctly: correct path and name. After that, a simple restart of the VSCode was enough.

I dont even have a solution file, your comment is useless

Hi all,

From here: https://github.com/OmniSharp/omnisharp-vscode/pull/4914#issuecomment-990243539

… you can install the prerelease build from https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.23.18-beta2 as a workaround until a release is ready

im having same issue, anyone got solution?

Had the same problem, downgrading to VS Code 1.62 worked for me based on this so question (and response) https://stackoverflow.com/questions/70290626/how-to-solve-the-problem-that-cant-select-project-using-omni-sharp-on-vs-core

Does anyone know how to install an old working version until a fix is released? My VS Code is basically bricked now.

Quick downgrade command for linux users:

apt-get install code=1.62.3-1637137107

I’m a little surprised this is broken in the default shipping configuration of vscode and the fix hasn’t been deployed yet a month later. Given how important intellisense is, losing it makes vscode basically unusable. Priority up, please?

And the issue is marked closed!

Hello, in my case installing the beta version 1.24.0 of OmniSharp extension solved the error.

This solved it for me too

For me on vscode on windows, v1.24.0 beta fixed problem.

Updating to v1.24.0 resolved my issue on Windows x64. Here are instructions how you can install pre-release version in VsCode.

https://github.com/OmniSharp/omnisharp-vscode/wiki/Installing-Beta-Releases

can confirm that the issue happened after upgrading VSCode to 1.63, downgrading to 1.62 solved it

Yeah, my csproj files have not changed for some time and compile just fine, its simply the OmniSharp Select Project command that fails

On Tue, Dec 14, 2021 at 1:29 AM EternalQuasar @.***> wrote:

In my case my problem was fixed by looking at the sln file and checking that every project was referenced correctly: correct path and name. After that, a simple restart of the VSCode was enough.

I dont even have a solution file, your comment is useless

Sorry for bother you, I came to this issue a few hours ago, managed to resolve it and wanted to share my findings. Check in your .csproj files for inconsistences regarding other projects references.

The omnisharp have a several weeks since the last release, so maybe the problem is in the VSCode. To test this you can create a new project in a clean folder and watch if the message persists.

It is happening with default created projects, like dotnet new console

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/OmniSharp/omnisharp-vscode/issues/4907#issuecomment-992536965, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHJOXPHY5US2BKAIZX7X4TUQX7OFANCNFSM5IZF7R7Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

In my case my problem was fixed by looking at the sln file and checking that every project was referenced correctly: correct path and name. After that, a simple restart of the VSCode was enough.

I dont even have a solution file, your comment is useless

Sorry for bother you, I came to this issue a few hours ago, managed to resolve it and wanted to share my findings. Check in your .csproj files for inconsistences regarding other projects references.

The omnisharp have a several weeks since the last release, so maybe the problem is in the VSCode. To test this you can create a new project in a clean folder and watch if the message persists.

In my case my problem was fixed by looking at the sln file and checking that every project was referenced correctly: correct path and name. After that, a simple restart of the VSCode was enough.