dotnet / dotnet/vscode-csharp

C# language server assumes wrong solution path when Reload Window task executed

Open
#6,268 3 comments 0 reactions 1 assignee Claimed by @jasonmalinowski View on GitHub
Bug Triaged
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
17h 56m
Merged PRs (30d)
21

Description

## Steps to reproduce

1. Execute task .NET: Open Solution. Choose a solution that is in a sub directory off root e.g. /feature/MyFeature.sln.
2. Notice the C# log windows picks up the correct solution path and loads all the projects successfully.
3. Now execute task Developer: Reload Window.
4. Notice the C# log window does not find the solution file - looks for /MyFeature.sln instead of feature/MyFeature.sln.

## Expected behavior
The path of the loaded solution in the C# Language Server is properly resolved when task Developer: Reload Window is executed.

## Actual behavior
The path of the loaded solution in the C# Language Server is NOT properly resolved when task Developer: Reload Window is executed.

## Additional context
Latest stable version of VSCode and C# extension running on Ubuntu.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.