winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit bd71aa364261e0f0043e7a51d68f641cddaaafa9
parent fd4b14cf48c9f9d0f76a2767de460c78027575c8
Author: yao-msft <50888816+yao-msft@users.noreply.github.com>
Date:   Tue, 28 Sep 2021 16:51:42 -0700

Fix nuget pipeline (#1522)


Diffstat:
Mazure-pipelines.nuget.yml | 14+++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/azure-pipelines.nuget.yml b/azure-pipelines.nuget.yml @@ -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