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
I have multiple .csproj in a workspace. When I first installed Dev Kit it seems to have processed only one folder in which it added a SLN file.
The language server starts failing with the other folders.
Steps to Reproduce
Not sure if it matters (as in OS oriented)
Have ubuntu/any other distro.
Open Visual Studio Code
Add several project folders with their respective csproj file to your workspace (do not add any project with a SLN, for reproduction purposes)
Install C# Dev Kit.
Notice that Dev Kit will add only one SLN.
Notice that the syntax highlighting and autocomplete starts failing when you switch over to different *.cs files in the editor.
Expected Behavior
Dev Kit or the language server doesn't "choke" when each csproj doesn't have a SLN. Autocomplete and syntax highlighting works.
Actual Behavior
Dev Kit enabled and/or SLN existing in a folder causes a lot of heartburns for the language server apparently. Disabling syntax highlighting and autocomplete.
Logs
C# log
Post the output from Output-->C# here
C# LSP Trace Logs
Post the output from Output-->C# LSP Trace Logs here. Requires `dotnet.server.trace` to be set to `Trace`
Environment information
VSCode version: 1.83.1 C# Extension: 2.7.25 Using OmniSharp: false
Dotnet Information
.NET SDK:
Version: 7.0.113
Commit: e24ee34c8e
Runtime Environment:
OS Name: arch
OS Version:
OS Platform: Linux
RID: arch-x64
Base Path: /usr/share/dotnet/sdk/7.0.113/
Transferring this issue over to the devkit repo - devkit controls the project loading experience.
Track the issue here - microsoft/vscode-dotnettools#651
Issue Description
I have multiple .csproj in a workspace. When I first installed Dev Kit it seems to have processed only one folder in which it added a SLN file.
The language server starts failing with the other folders.
Steps to Reproduce
Not sure if it matters (as in OS oriented)
Have ubuntu/any other distro.
Open Visual Studio Code
Add several project folders with their respective
csproj
file to your workspace (do not add any project with a SLN, for reproduction purposes)Install C# Dev Kit.
Notice that Dev Kit will add only one SLN.
Notice that the syntax highlighting and autocomplete starts failing when you switch over to different
*.cs
files in the editor.Expected Behavior
Dev Kit or the language server doesn't "choke" when each csproj doesn't have a SLN. Autocomplete and syntax highlighting works.
Actual Behavior
Dev Kit enabled and/or SLN existing in a folder causes a lot of heartburns for the language server apparently. Disabling syntax highlighting and autocomplete.
Logs
C# log
C# LSP Trace Logs
Environment information
VSCode version: 1.83.1
C# Extension: 2.7.25
Using OmniSharp: false
Dotnet Information
.NET SDK: Version: 7.0.113 Commit: e24ee34c8eRuntime Environment:
OS Name: arch
OS Version:
OS Platform: Linux
RID: arch-x64
Base Path: /usr/share/dotnet/sdk/7.0.113/
Host:
Version: 7.0.13
Architecture: x64
Commit: 3f73a2f186
.NET SDKs installed:
7.0.113 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.13 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.13 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT [/usr/share/dotnet]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Code Extensions
The text was updated successfully, but these errors were encountered: