Skip to content

Commit

Permalink
Unset NUGET_PACKAGES in official build only (#9523)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rainersigwald and AR-May committed Dec 12, 2023
1 parent 9276c4e commit 67d742f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .vsts-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67d742f

Please sign in to comment.