microsoft / playwright-dotnet

.NET version of the Playwright testing and automation library.
https://playwright.dev/dotnet/
MIT License
2.47k stars 235 forks source link

Failing to verify the strong name #1081

Closed DrNeil closed 3 years ago

DrNeil commented 3 years ago

getting latest DLL version with nuget, and sn.exe fails to verify the strong name Is the key corrupt or some other issue ?

C:\Work\Spikes\test\bin\Debug\net5.0>sn.exe  -v PlaywrightSharp.dll

Microsoft (R) .NET Framework Strong Name Utility  Version 4.0.30319.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Failed to verify assembly -- Strong name validation failed.

This was added with

 dotnet add package PlaywrightSharp --version 0.170.2

Originally posted by @DrNeil in https://github.com/microsoft/playwright-sharp/issues/461#issuecomment-752307565

DrNeil commented 3 years ago

ok I think I have found out why. It is public signed - so this is expected behaviour. Public Signing Hopefully this is useful for someone else who gets this.