From 06d4a6af76daa14c346cfc0ca04dfdabdb8c716e Mon Sep 17 00:00:00 2001 From: Peter Collins Date: Tue, 22 Aug 2023 14:58:27 -0400 Subject: [PATCH] [tests] Skip sign check when installing MAUI The MAUI integration test job has been failing with: EXEC(0,0): Error : NU3004: The package is not signed. Our upstream dependencies will not always be signed, and the packages we are building for testing purposes are not signed. We can avoid this error by adding `--skip-sign-check` to the workload install command. --- build-tools/scripts/DotNet.targets | 1 + 1 file changed, 1 insertion(+) diff --git a/build-tools/scripts/DotNet.targets b/build-tools/scripts/DotNet.targets index e7fd3a84a1c..4bc38412304 100644 --- a/build-tools/scripts/DotNet.targets +++ b/build-tools/scripts/DotNet.targets @@ -109,6 +109,7 @@ <_NuGetSources Include="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" /> <_NuGetSources Include="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" /> <_InstallArguments Include="--skip-manifest-update" /> + <_InstallArguments Include="--skip-sign-check" /> <_InstallArguments Include="--verbosity diag" /> <_InstallArguments Include="--source "%(_NuGetSources.Identity)"" /> <_InstallArguments Include="--temp-dir "$(_TempDirectory)"" />