Skip to content

XUnit tests on net462 are skipped due to Strong name signature verification. #14091

@JRahnama

Description

@JRahnama
  • [ x] This issue is blocking
  • At SqlClient team, we have started to use Microsoft.DotNet.XUnitExtensions from Arcade source provider and trying to remove our internal build of the package to benefit from latest improvements. While working on the task I noticed all net462 tests are skipped with a note:
 [xUnit.net 00:00:01.41] Skipping: ManualTests (could not load dependent assembly 'Microsoft.DotNet.XUnitExtensions, Version=9.0.0'): Could not load file or assembly 'Microsoft.DotNet.XUnitExtensions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)

NetCore is working fine.
I have tested with:

Microsoft.DotNet.XUnitExtensions 9.0.0-beta.23506.2
Microsoft.DotNet.XUnitExtensions 8.0.0-beta.23505.1
XUnit 2.5.1

Could be checked at PR #2033 on SqlClient repo.

  • This issue is causing unreasonable pain

Release Note Category

  • Feature changes/additions
  • Bug fixes
  • Internal Infrastructure Improvements

Release Note Description

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions