You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When my repo strong-name signs its assemblies and I execute a test run with code coverage on .NET Framework, dotnet test ultimately fails because when it shadow-copies the assembly, the strong-name signature is checked and found to be invalid.
I wonder if this is because the code coverage changes the IL in the assembly, thus invalidating its signature.
Is this a known issue? If not, I can provide repro steps if necessary.
The text was updated successfully, but these errors were encountered:
AArnott
changed the title
Code coverage breaks strong-name signature, causing test failure
Code coverage breaks strong-name signature, causing test failure on .NET Framework
Jun 16, 2019
When my repo strong-name signs its assemblies and I execute a test run with code coverage on .NET Framework,
dotnet test
ultimately fails because when it shadow-copies the assembly, the strong-name signature is checked and found to be invalid.I wonder if this is because the code coverage changes the IL in the assembly, thus invalidating its signature.
Is this a known issue? If not, I can provide repro steps if necessary.
The text was updated successfully, but these errors were encountered: