Skip to content

Commit

Permalink
Fix nuget pipeline (microsoft#1522)
Browse files Browse the repository at this point in the history
  • Loading branch information
yao-msft authored Sep 28, 2021
1 parent fd4b14c commit bd71aa3
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion azure-pipelines.nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,22 @@ jobs:

# Restores all projects, including native (vcxproj) projects
- task: NuGetCommand@2
displayName: Restore Packages
displayName: Restore Solution
inputs:
restoreSolution: "$(solution)"

# Restore these UAP packages as https://github.com/NuGet/Home/issues/7796 leads to all UAP packages being skipped for restore.
# Even though they don't need any actual restore action, they need the project.assets.json file to be created and a direct restore does that.
- task: NuGetCommand@2
displayName: Restore AppInstallerCLIPackage
inputs:
restoreSolution: 'src\AppInstallerCLIPackage\AppInstallerCLIPackage.wapproj'

- task: NuGetCommand@2
displayName: Restore AppInstallerTestMsixInstaller
inputs:
restoreSolution: 'src\AppInstallerTestMsixInstaller\AppInstallerTestMsixInstaller.wapproj'

# Restores only .NET core projects, but is still necessary, as without this the IndexCreationTool and LocalhostWebServer projects fail to build
- task: DotNetCoreCLI@2
displayName: DotNet Restore
Expand Down

0 comments on commit bd71aa3

Please sign in to comment.