Need a way to turn BundledDotnetTools off for source-build
See original GitHub issueTry to source-build up through the CLI.
There are a bunch of BundledDotnetTools
that aren’t source-buildable (pretty much all of them).
We need to be able to turn these off during source-build. We could possibly use the same build variables we are currently using to not package the rest of ASP.NET in the SDK during source-build.
Issue Analytics
- State:
- Created 6 years ago
- Comments:29 (23 by maintainers)
Top Results From Across the Web
Commits to .NET Core 2.1
Commits to .NET Core 2.1. This is a somewhat curated list of commits across the entire .NET Core 2.1 development cycle. Working on...
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 FreeTop 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
Top GitHub Comments
I can’t stress enough that any functionality which we consider to be in-box behavior needs to be included in source-build where ‘source-build’ means building from source with the bare minimum of bootstrap binaries needed to build and nothing required from the interwebs during the process.
Our plan is to have a variable to turn off including bundled tools into the CLI. This change went in in the PR @omajid mentioned above.
Other than that, we will add special error messages when you try to dotnet <bundled_tool> and we don’t find the tool indicating the user to run dotnet install -g (which will only happen in source build tools).
Issue dotnet/cli#8861 is tracking adding that error message.
Given that this issue was tracking the OFF switch for the bundle tools and that went in, I am going to go ahead and close it.