Similar to how we're setting DOTNET_CLI_TELEMETRY_OPTOUT in cli-telemetry-optout.patch, we can set DOTNET_ADD_GLOBAL_TOOLS_TO_PATH to zero. This stops the sdk from creating its own profile file to add the global tools on PATH which we're already taking care of using dotnet.sh.
DOTNET_CLI_TELEMETRY_OPTOUT
cli-telemetry-optout.patch
DOTNET_ADD_GLOBAL_TOOLS_TO_PATH
dotnet.sh
CC @omajid
Is there a set of commands I can run to observe this behaviour?
.NET Core 3.0 has been EOL for ages. If this issue still persists in a new release, please file a new issue against that.
Metadata Update from @omajid: - Issue status updated to: Closed (was: Open)