Issue Type: Bug
I use "Debugger for Unity" , but it depends "ms-vscode.csharp", and "ms-vscode.csharp" was not found.
Extension version: 1.21.13
VS Code version: Code 1.42.1 (c47d83b293181d9be64f27ff093689e8e7aed054, 2020-02-11T14:45:59.656Z)
OS version: Windows_NT x64 10.0.17134
System Info
|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-9700KF CPU @ 3.60GHz (8 x 3600)|
|GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|15.92GB (10.80GB free)|
|Process Argv||
|Screen Reader|no|
|VM|0%|
Also getting this issue. Also get the "The C# extension is recommended for this file type" even though the extension is installed. Intellisense is broken. References are broken. Just a text editor now
Rolling back to 1.21.12 resolved the issue
https://github.com/OmniSharp/omnisharp-vscode/issues/3623
look like the new id of the extension is ms-dotnettools.csharp instead of ms-vscode.csharp.
@lindsaytalbot if I try to rollback the latest c# extension I get the error: Unable to find the extenstion version.
The suggested action is to download it manually and install it.
I think there are some extensions that uses the old id as dependency.
VS Code on Mac:
Version: 1.42.1
Commit: c47d83b293181d9be64f27ff093689e8e7aed054
Date: 2020-02-11T14:44:27.652Z
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 19.4.0
On open of a project and CS file:
Prompt to install C#:
"The 'C#' extension is recommended for this file type."
Click Install, Extensions: Marketplace opens:
@id:ms-vscode.csharp
"No extensions found."
Additional error message:
"Cannot activate the 'Roslynator' extension because it depends on an unknown 'ms-vscode.csharp' extension ."
On a similar environment to roxberry, I have the same issue.
Work around: install 1.21.12 manually via https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-dotnettools/vsextensions/csharp/1.21.12/vspackage
Trying to use the Editor Extension Settings icon to install a different version from within VSCode fails. .vsix files don't seem to be recognized on macOS. Any thoughts on a way around this?
@warbands From the extensions panel you can click the three little dots and find the option to install from a .vsix. Annoying that the extension doesn't just open with Code.
Aside problem: I chose the older version via Code's "install other version..." option and selected to manually install it. It then opened a link to the VSIX for the current version. I had to manually edit the URL to get 1.21.12.
Any solution for macOS? .vsix seems to be windows only
Any solution for macOS? .vsix seems to be windows only
I鈥檓 on macOS. See notes above. In short, the vsix extension doesn鈥檛 open automatically but you can still open it.
Oh!!! The "three little dots". Thank you! I no longer get the error.
Thanks for reporting. The issue is due to the publisher rename, which has broken the unity extension. There is a pull request out on the unity extension, and once that is merged and updates go through, it should be resolved. Closing as a duplicate of https://github.com/OmniSharp/omnisharp-vscode/issues/3620
Most helpful comment
Also getting this issue. Also get the "The C# extension is recommended for this file type" even though the extension is installed. Intellisense is broken. References are broken. Just a text editor now