microsoft / microsoft/vscode-dotnettools

[BUG] C# dev kit should respect the `dotnet.dotnetPath` set by C# extension

Open
#792 41 comments 3 reactions 2 assignees View on GitHub

Nobody has claimed this yet.

area-dotnet-acquisition area-project-cps bug
Dominant language
No language data
Stars
321
Forks
54
Avg merge
2d 19h
Merged PRs (30d)
2

Description

Describe the Issue

If I set a custom path for dotnet SDK and runtime for C# extension using setting dotnet.dotnetPath like below.

    "dotnet.dotnetPath": "C:\\Users\\{username}\\AppData\\Local\\Microsoft\\dotnet"

I can see the C# extension uses that to load the base language service.
image

but if I see C# dev kit (and it's test explorer) logs, it's still loading it's tooling from the SDK found on the path.
image

which I think is incorrect, C# dev kit should respect the SDK chosen by base C# extension.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.