From 67d742f0a7a0de2d770909319bc334d0338b1fbd Mon Sep 17 00:00:00 2001 From: Rainer Sigwald Date: Tue, 12 Dec 2023 12:33:30 -0600 Subject: [PATCH] Unset NUGET_PACKAGES in official build only (#9523) The devdiv build machine images appear to have started setting the environment variable `NUGET_PACKAGES`, which caused a mismatch between the location where `drop.app` was restored (repo-local location) and where it was used from (environment-variable defined machine location), causing build failures. Co-authored-by: AR-May <67507805+AR-May@users.noreply.github.com> --- .vsts-dotnet.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vsts-dotnet.yml b/.vsts-dotnet.yml index 1c28b3bf2ca..ea163193844 100644 --- a/.vsts-dotnet.yml +++ b/.vsts-dotnet.yml @@ -94,6 +94,8 @@ stages: value: 'int.main' - name: VisualStudio.DropName value: Products/$(System.TeamProject)/$(Build.Repository.Name)/$(Build.SourceBranchName)/$(Build.BuildNumber) + - name: NUGET_PACKAGES + value: steps: - task: NuGetToolInstaller@0