-
Notifications
You must be signed in to change notification settings - Fork 676
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
Implement the "dotNetCliPaths" option to support custom .NET SDK locations #4738
Conversation
... don't you need to register the option in package.json ? |
@SamB I did not realize I needed to do that. Done! |
@jkoritzinsky The c# extension also performs a check for |
The debugger also needs to find There are also build tasks that need to use |
…t` CLI for the target processes. Update the definition of the dotnetPath option to explain how it differs. (dotnetPath will only apply for hosting OmniSharp. dotNetCliPaths applies for any dotnet processes that are launched for debugging, test discovery, etc)
@gregg-miskelly @JoeRobich I've finally had a chance to get back to this PR. I've updated it to master and implemented both of your requests. Can you take another look when you have a chance? |
…(the one Omnisharp will run on), not the target dotnet cli.
…on so OmniSharp will run tests against the correct runtime. Refactor OutputConfiguration into a separate file from userPrompts. Fixes #8 as best as possible. This still depends on either the PATH and DOTNET_ROOT being set to the correct folder (like how the -vs flag on the dotnet/runtime build.cmd script has), a global SDK being installed with a new enough version, or dotnet/vscode-csharp#4738 being implemented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jkoritzinsky Thanks for sticking with this PR!
@JoeRobich @filipw can one of you merge this PR for me? Or is there something else I need to do before we get this merged in? |
@jkoritzinsky Sorry for the delay. Thanks again! |
Depends on OmniSharp/omnisharp-roslyn#2227