Closed Karnah closed 4 years ago
We have this problem using xUnit. There is fix for it by disabling shadawCoping in settings. Documentation of it here: https://xunit.net/docs/configuration-files Now we are searching another cases where it can affect.
We have this problem using xUnit. There is fix for it by disabling shadawCoping in settings. Documentation of it here: https://xunit.net/docs/configuration-files Now we are searching another cases where it can affect.
Thanks for the solution, it worked for us as well. We have the same problem with xUnit when we target .NET 4.8, no problems targeting .NET Core 3.1 though. This makes sense since the appDomain feature is only supported in .NET Framework.
Haven't seen the same problem when actually running the application (executing the same code as the tests).
Hi,
we have the same problem with our click-once-project.
"strong name signature not valid for this assembly 'WPFLocalizeExtension.dll' "
Version 3.3.1 worked fine.
What is the reason for the change in the csproj-file?
Best regards
Benjamin
@benjaminrupp We had still strong request for signed assemblies, and the issue as an OSS Project is that opening up the private key into the repo is not a good approach. MS introduced the public sign option to solve that issue. It seems that this is not working every case. Can this help: https://github.com/brutaldev/StrongNameSigner so that you just add an
<Target Name="BeforeBuild">
<Exec ContinueOnError="false"
Command=""..\packages\Brutal.Dev.StrongNameSigner.2.7.1\build\StrongNameSigner.Console.exe" -in "..\packages"" />
</Target>
In some cases when call Assembly.GetTypes(), it throw exception:
I check new version with sn.exe:
Old version have no strong name and all work fine: