Open dibarbet opened 1 year ago
Adjusting to backlog for now. We can definitely add support for relative paths to dotnet.dotnetPath - but it won't be super useful by itself. Neither the CLI, nor project loading (in either devkit or c#) will use this path. That generally requires SDK support as described in https://github.com/microsoft/vscode-dotnettools/issues/63#issuecomment-1716741944
Yes, please. It should either support variable substitution like ${workspaceFolder}
and ${userHome}
and/or at least be resolved relative to workspace, so that we can have this setting locally per-repository through e.g. git-ignored symlinks (since VSCode still doesn't support local workspace settings, it can't be an absolute path because you can't guarantee this workspace setting can be git-ignored).
Copied from https://github.com/microsoft/vscode-dotnettools/issues/53
Describe the Issue
My repo provisions a repo-local installation of the .NET SDK. As such, my workspace settings previously had
"omnisharp.dotnetPath": "../.dotnet"
, which worked.After upgrading to the prerelease version of the C# extension (v2.0.206), I adjusted this setting to
"dotnet.dotnetPath": "../.dotnet"
.The language server now fails to start and my C# console output shows:
Steps To Reproduce
No response
Expected Behavior
No response
Environment Information
No response