Why doesn't cli use the version of dotnet-install in repo?
See original GitHub issueThis is probably a stupid question, so apologies in advance.
Why does the cli grab the dotnet-install.sh
script from github rather than using the copy at scripts/obtain/dotnet-install.sh
?
To me, it seems like this approach makes it much harder to fix issues in dotnet-install.sh
because the version available at github.com is being used and local changes to dotnet-install.sh
are ignored.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
dotnet tool install command - .NET CLI
The dotnet tool install command provides a way for you to install .NET tools on your machine. To use the command, you specify...
Read more >DotNet CLI doesn't check any package repositories during ...
1 Answer 1 · Completely uninstall ALL versions of the .NET framework, runtimes and SDKs, using the Control Panel (11 entries in total)...
Read more >dotnet-install scripts - .NET CLI
The script doesn't set the DOTNET_ROOT environment variable. ... You can install a specific version using the -Version|--version argument.
Read more >Using Rider under Linux: prerequisites
On Linux Rider does not detect dot net core even though it is installed. Mono is detected. How does Rider find the dot...
Read more >Paket and the .NET SDK / .NET Core CLI tools (dotnet CLI ...
The general workflow is not very different from using Paket with traditional .NET projects which it is described in the "Getting started" tutorial....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This has been changed already. CLI is using the dotnet-install script from the repo and we are no longer using build_tools.
@piotrpMSFT Do you mean CLI should stop using the BuildTools package or changing the way CLI puts it in the build_tools folder?
I think something that might be useful for all repos using bootstrap and BuildTools is something similar to the way you can use a locally built BuildTools package - you can set $BUILDTOOLS_SOURCE to a local folder and it’ll be picked up from there instead. As a long-term fix I think we should consider a $DOTNET_INSTALL_SOURCE or something similar, since I can see a scenario like: “I’m fixing a dotnet-install issue and want to test my changes in multiple repos”.