Skip to content

Commit

Permalink
[tests] Skip sign check when installing MAUI (#8288)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pjcollins authored Aug 22, 2023
1 parent 29c7de2 commit 4061928
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build-tools/scripts/DotNet.targets
Original file line number Diff line number Diff line change
Expand Up @@ -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 &quot;%(_NuGetSources.Identity)&quot;" />
<_InstallArguments Include="--temp-dir &quot;$(_TempDirectory)&quot;" />
Expand Down

0 comments on commit 4061928

Please sign in to comment.