Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Strong Name Validation Failed
ianw89
#1 Posted : Thursday, May 10, 2012 10:15:34 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/10/2012(UTC)
Posts: 2
Location: Seattle

I'm trying to onboard some existing projects to NCrunch.

I have my product assemblies building in NCrunch fine, as does the test DLL. However, when it goes to run the tests, I hit this:



I used fuslog to try and get a better look at the issue, but it doesn't really tell me anything useful. Also, I've used sn.exe to ensure that the PublicKeyToken that was used to delay sign the assemblies is being allowed.

In my NCrunch config, I have "Prevent signing of output assembly" set to false. Should I be setting this to true and doing something special maybe, as the troubleshooting section says? I'm not really sure what to do next.
Remco
#2 Posted : Thursday, May 10, 2012 10:39:53 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi -

Thanks for posting! It looks to me like you have a complex signing scenario set up within this solution, so the best way to get this working with NCrunch is definitely to set the 'Prevent signing of output assembly' to TRUE for ALL of the projects in your solution. Hopefully this will resolve your problem.


Cheers,

Remco
ianw89
#3 Posted : Thursday, May 10, 2012 11:02:50 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/10/2012(UTC)
Posts: 2
Location: Seattle

So, simply changing this setting to true doesn't change seem to change anything any all - I still always get the same error. I changed it on every project in the solution.
Remco
#4 Posted : Thursday, May 10, 2012 11:26:18 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Would you be able to answer some of the questions below? This will help me to better establish why the issue is occurring:

- Is the assembly 'Company.Product.TDD.Tests' derived from a project within the same solution you are using NCrunch on?
- How is the above assembly referenced from other projects in the solution? Is this through an MSBuild <ProjectReference> or an <AssemblyReference> ?
- If this is itself an assembly containing tests, is there a reason it is signed?
- Is the assembly ever loaded into the GAC?
- Are you making use of the 'Copy referenced assemblies to workspace' setting for any of the projects in your solution?

If you can submit a bug report, this would also be very helpful as the log file may yield some clues as to what is happening.

Thanks!

Remco
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.040 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download