Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why doesn't cli use the version of dotnet-install in repo?

See original GitHub issue

This is probably a stupid question, so apologies in advance.

Why does the cli grab the script from github rather than using the copy at scripts/obtain/

To me, it seems like this approach makes it much harder to fix issues in because the version available at is being used and local changes to are ignored.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

livarcocccommented, May 15, 2017

This has been changed already. CLI is using the dotnet-install script from the repo and we are no longer using build_tools.

crummelcommented, Feb 16, 2017

@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”.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found