-
I posted a bug report and repro here but then discovered this org-level discussion, so I'm unsure if I put it in the right place. Is the latest cake-vscode extension compatible with the latest omnisharp-vscode extension (which no longer relies on mono) on linux? I suspect it is not compatible as I've tried everything (see above link) without success. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I think this is a bug As mentioned in that issue linked above, I'm using linux and the latest vscode. So it uses the "modern" omnisharp config, without mono. I wanted to see whether it works with the mono build:
...and IntelliSense worked. Obviously I don't want to use the old O#/mono, but it shows there is a compatibility problem. With the old mono o#, the log now has this:
Is this a bug in the vscode-cake extension? |
Beta Was this translation helpful? Give feedback.
-
This problem I have also. Is someone can confirm VSCode extension work on Linux and .NET 6??? If not compatible, it is sad but OK. 😄 But I spend so much time trying to fix this - I like to know if to continue, or give up?! Please please advise me? 🙏 |
Beta Was this translation helpful? Give feedback.
-
Due to some constraints, OmniSharp (the basis for the VSCode C# extension, which also includes support for Cake) currently does not ship the support for Cake in the So you have two options here:
|
Beta Was this translation helpful? Give feedback.
Due to some constraints, OmniSharp (the basis for the VSCode C# extension, which also includes support for Cake) currently does not ship the support for Cake in the
net6
versions.So you have two options here:
set
"omnisharp.useModernNet": false
in the vscode settings. This will not use thenet6
version of OmniSharp and fall back the mono/.NET Framework versions.set
"omnisharp.path": "latest"
in the vscode settings. This will always use the latest beta version of OmniSharp (at the time of writing, this is1.39.2-beta.4
). OmniSharp does (will?) ship support for Cake in thenet6
versions starting with1.39.1
(which is currently available for download, but not used in the c# extension f…