views:

242

answers:

1

I have visual studio 2008 running on a Windows 2008 virtual PC. I decided to try out the Microsoft Test Tools built into the IDE (as opposed to NUnit, which I typically use). Using the Unit Testing wizard, VS adds a new test project to the source tree, creates a bunch of unit tests.

When I try and compile, I get this "Unable to obtain public key for StrongNameKeyPair" error. I've checked the properties for both my project and the unit test project, and I am signing a key for each of them...

Google suggests I call "sn.exe -m n" "sn.exe -c"

But that doesn't work.

Any ideas what I could try?

+1  A: 

MSDN forum thread seems to describe your very problem: unit test and protected keys are not supported. The thread has suggestions and work-arounds.

Timores
that seems to get me one step closer, thanks
tbischel