dotnet / dotnet/wpf

buld.cmd nuget error - This package is signed but not by a trusted signer

Open
#10,827 6 comments 0 reactions 0 assignees View on GitHub
:mailbox_with_no_mail: waiting-author-feedback
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

Hello,
I have problems to build the repository by build.cmd.
I have many nuget related errors ("This package is signed but not by a trusted signer") like:

D:\Code\DotNet\wpf\wpf\src\Microsoft.DotNet.Wpf\tests\UnitTests\System.Xaml.Tests\System.Xaml.Tests.csproj : error NU3034: Package 'coverlet.collector 6.0.0' from source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json': This package is signed but not by a trusted signer. [D:\Code\DotNet\wpf\wpf\Microsoft.Dotnet.Wpf.sln]
D:\Code\DotNet\wpf\wpf\src\Microsoft.DotNet.Wpf\src\System.Xaml\System.Xaml.csproj : error NU3034: Package 'Microsoft.CodeAnalysis.NetAnalyzers 8.0.0' from source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json': This package is signed but not by a trusted signer. [D:\Code\DotNet\wpf\wpf\Microsoft.Dotnet.Wpf.sln]

How can I make the url 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json' as trusted nuget source?
I have tried many ways to allow untrusted sources or add the url to trusted source but nothing worked.

Thank you,
Karel

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.