Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Fix CI Build Errors on Build Windows Samples job (#1173)
Browse files Browse the repository at this point in the history
* Update azure-pipelines.yml

* Clean + Build

* Revert "Clean + Build"

This reverts commit e93ca82.

* Add `dotnet clean`

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Add link
  • Loading branch information
brminnick committed Apr 5, 2021
1 parent bd50618 commit 3fef5d0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ jobs:
pool:
vmImage: windows-2019
steps:
- task: CmdLine@2
displayName: 'Clear Local NuGet Cache' #https://github.com/actions/virtual-environments/issues/1090#issuecomment-748452120
inputs:
script: 'nuget locals all -clear'
- task: MSBuild@1
displayName: 'Clean Solution'
inputs:
solution: $(PathToSln)
msbuildArguments: '/t:Clean'
- task: MSBuild@1
displayName: Build Solution
inputs:
Expand Down Expand Up @@ -88,6 +97,15 @@ jobs:
inputs:
version: $(NETCORE_TEST_VERSION_2_1)
includePreviewVersions: false
- task: CmdLine@2
displayName: 'Clear Local NuGet Cache' #https://github.com/actions/virtual-environments/issues/1090#issuecomment-748452120
inputs:
script: 'nuget locals all -clear'
- task: MSBuild@1
displayName: 'Clean Solution'
inputs:
solution: $(PathToSln)
msbuildArguments: '/t:Clean'
# if this is a tagged build, then update the version number
- powershell: |
$buildSourceBranch = "$(Build.SourceBranch)"
Expand Down

0 comments on commit 3fef5d0

Please sign in to comment.