You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to v2.0.357 the plugin stopped (more or less) working for me. It will look up symbols within a single file, but any lookup to other files fail.
A thought is that it may be related to the fact that my solution is located in the root folder of the workspace, but in a subfolder. Also, there are two solutions in the subfolder (fyi). However, trying to create a solution file in the workspace root did not remedy the issue.
Steps to Reproduce
For me: Open up any of my previous working workspaces. I don't know how to re-create the issue.
Creating a new workspace / project (with a .csproj file) remedies the issue.
Note: I am also using a Devcontainer setup.
Expected Behavior
C# Intellisense to be working.
Actual Behavior
C# Intellisense is not working in my existing workspaces.
Logs
See attached file....
C# log
See attached file....
C# LSP Trace Logs
See attached file....
Environment information
VSCode version: 1.81.1 C# Extension: 2.0.357 Using OmniSharp: false
Extension version: 2.0.357
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:18:39.991Z)
OS version: Linux x64 5.19.0-50-generic
Modes:
Remote OS version: Linux x64 5.19.0-50-generic
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz (12 x 4089)
@jvcdk So if you have two solution files, we wouldn't have known which one to pick; I think Omnisharp might have picked one arbitrarily or had you use the picker. In any case, if you invoke the Command Palette (Ctrl+Shift+P on Windows -- I admit I don't know what it is on Linux) you should be able to find a "open solution" command which will let you pick the one you want. You can also set dotnet.defaultSolution as a workspace setting to specify the one you want by default.
Then open solution worked perfectly :) I did look for it yesterday, I just did not find it. I was looking up "CSharp..." in the menu, and not ".Net". My bad.
Thank you for your quick reply :) And good idea with #6132 :)
Type: Bug
Issue Description
After upgrading to v2.0.357 the plugin stopped (more or less) working for me. It will look up symbols within a single file, but any lookup to other files fail.
A thought is that it may be related to the fact that my solution is located in the root folder of the workspace, but in a subfolder. Also, there are two solutions in the subfolder (fyi). However, trying to create a solution file in the workspace root did not remedy the issue.
Steps to Reproduce
For me: Open up any of my previous working workspaces. I don't know how to re-create the issue.
Creating a new workspace / project (with a .csproj file) remedies the issue.
Note: I am also using a Devcontainer setup.
Expected Behavior
C# Intellisense to be working.
Actual Behavior
C# Intellisense is not working in my existing workspaces.
Logs
See attached file....
C# log
See attached file....
C# LSP Trace Logs
See attached file....
Environment information
VSCode version: 1.81.1
C# Extension: 2.0.357
Using OmniSharp: false
Dotnet Information
Host:
Version: 7.0.10
Architecture: x64
Commit: a6dbb800a4
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.NETCore.App 7.0.10 [/home/user/.vscode-server/data/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.10/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Code Extensions
Extension version: 2.0.357
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:18:39.991Z)
OS version: Linux x64 5.19.0-50-generic
Modes:
Remote OS version: Linux x64 5.19.0-50-generic
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: