3 working_tree_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
5 # Don't resolve runtime, shared framework, or SDK from other locations to ensure build determinism
6 export DOTNET_MULTILEVEL_LOOKUP=0
8 # Disable first run since we want to control all package sources
9 export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
11 echo "Running init-tools.sh"
12 source $working_tree_root/init-tools.sh
14 dotnet=$working_tree_root/.dotnet/dotnet
16 echo "Running: $dotnet $@"
20 echo "ERROR: An error occurred in $dotnet $@. Check logs under $working_tree_root."
24 echo "Command successfully completed."