Click here to Skip to main content
15,884,836 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a situation where I need to add unit test to my application which verifies strong naming.
I need to put a unit test to this application which would check if the current application is strongly named or not. I just want to get started with this is there any library which can be added to the unit test which would do this?I have visual studio 2012 and using C#4.0
Posted

Maybe you find this useful:

http://blog.codingoutloud.com/2010/03/13/three-ways-to-tell-whether-an-assembly-dl-is-strong-named/[^]

I think you could write some convenient wrapper arround the sn.exe tool for use in your unit-tests...
 
Share this answer
 
I think it can only be done by using the sn.exe in my tests and matching the outputs.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900