Closed AlejandroPiCano closed 4 years ago
@AlejandroPiCano hmmm.... I'm not sure offhand either... Do you have any dependencies that might still be unsigned? cc @twenzel - any chance there could be an AppDomain
issue at work here?
Hi @Aaronontheweb and @twenzel ,
I thought at first that this could be a problem, that the rest of the despencies were not signed, but my project has signed all dependencies, then to test this problem did the following:
The results were the same, I got the same error. I think if i can solve the problem for this simple example, i can apply the solution to my project and run NBench.Runner succesfully.
I have attached the message error:
Sorry for my english, thanks.
Resolved via NBench 2.0.0 https://github.com/petabridge/NBench/releases/tag/2.0.0 - no more external runners.
Hi,
I'm trying to run the NBench.Runner for an assembly signed. I have generated the signature for NBench.dll and NBench.Runner.exe, with the same signature of my project using ildasm and ilasm tools as they say in http://buffered.io/posts/net-fu-signing-an-unsigned-assembly-without-delay-signing/. When run NBench.Runner.exe from my command prompt see this error:
System.IO.FileLoadException: You can not load file or assembly 'NBench, Version=0.1.6.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An assembly with strong name is required. (Exception of HRESULT: 0x80131044) in NBench.Runner.Program.Main(String[] args).
However all references to NBench.dll and NBench.Runner.exe are signed. I do not know why the error occurs. Please help me with this issue.
Thanks.