I have a simple one-project-one-test-project solution. The test project pulls in a dependency with a strong name. The test project seems to compile OK, except that the tests that use the dependency all fail when the referenced assembly is resolved:
System.IO.FileLoadException : Could not load file or assembly 'Microsoft.Skype.ServiceShared.Utilities.OptionAssert, Version=1.0.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
----> System.IO.FileLoadException : Could not load file or assembly 'Microsoft.Skype.ServiceShared.Utilities.OptionAssert, Version=1.0.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
----> System.Security.SecurityException : Strong name validation failed. (Exception from HRESULT: 0x8013141A)
sn.exe says that the referenced dependency has a valid name. The tests all run just fine through nunit3-console.exe on the command line. I've switched on NCrunch's logging, at Diagnostic level, but can't see anything particularly enlightening.
The project doesn't do anything fancy - there's no rewriting, or IL emitting, or anything like that.
What else can I try to debug the issue?