diff --git a/build-tools/automation/yaml-templates/variables.yaml b/build-tools/automation/yaml-templates/variables.yaml index b170d2b8324..2975b8e1a13 100644 --- a/build-tools/automation/yaml-templates/variables.yaml +++ b/build-tools/automation/yaml-templates/variables.yaml @@ -76,3 +76,5 @@ variables: value: true - name: DOTNET_CLI_TELEMETRY_OPTOUT value: true +- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE + value: true diff --git a/build-tools/xaprepare/xaprepare/Steps/Step_InstallDotNetPreview.cs b/build-tools/xaprepare/xaprepare/Steps/Step_InstallDotNetPreview.cs index 01214519f05..cface28e4f6 100644 --- a/build-tools/xaprepare/xaprepare/Steps/Step_InstallDotNetPreview.cs +++ b/build-tools/xaprepare/xaprepare/Steps/Step_InstallDotNetPreview.cs @@ -55,9 +55,9 @@ protected override async Task Execute (Context context) for (int attempt = 1; attempt <= maxAttempts; attempt++) { var logPath = $"{logPathBase}-attempt{attempt}.binlog"; var runner = new ProcessRunner (Configurables.Paths.DotNetPreviewTool, "restore", - ProcessRunner.QuoteArgument (packageDownloadProj), + packageDownloadProj, "--configfile", Path.Combine (BuildPaths.XamarinAndroidSourceRoot, "NuGet.config"), - ProcessRunner.QuoteArgument ($"-bl:{logPath}"), + $"-bl:{logPath}", "--verbosity", "normal" ) { EchoStandardOutput = true,