Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow User to "Bring Their Own" Runtime for the Language Server for VS Code Extension #566

Open
gfs opened this issue Jul 7, 2023 · 0 comments
Labels
enhancement VSCode Related to the VS Code extension

Comments

@gfs
Copy link
Contributor

gfs commented Jul 7, 2023

Is your feature request related to a problem? Please describe.
As reported in #565 some users prefer not to have the .NET Install Tool for Authors obtain the .NET Runtime and may want to provide their own.

Describe the solution you'd like
A mechanism by which the user can specify a path to dotnet.exe that the VS Code extension will respect, and if present, not call dotnet.acquire.

Describe alternatives you've considered
We could alternately just try to run dotnet path\to\LanguageServer.dll and if that fails, acquire the Runtime as needed, but the server is implicitly started by the client so this may not be the best approach.

Additional context
This is a feature available in the VS Code extension for Bicep. https://github.com/Azure/bicep/blob/6fd52773948a97f11a776b9fbbf16fc03439af90/src/vscode-bicep/src/language/client.ts#L164-L172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement VSCode Related to the VS Code extension
Projects
None yet
Development

No branches or pull requests

1 participant