Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Open
@kk-siemens

Description

@kk-siemens

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions