文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>how to make a strong named friend assembly when do unit test

how to make a strong named friend assembly when do unit test

时间:2010-08-23  来源:OnlyTech

a strong named assemblyA has a internal class and several public methods, which need unit testing. But the class is inaccessible in other assembly. So the friend assembly can be configurated to make other assembly.s access possbile. 1. get the public key of the assemblyA sn -p .snk file output snk file sn -tp output snk file after the above two cmds, I can get the public 2. sign the unit test Assembly 3. add the following the statement in the properties file of assemblyA now the class in assemblyA can be accessed in unit test class. reference http://blog.tylerholmes.com/2008/04/unit-tests-and-internalsvisibleto.html
相关阅读 更多 +
排行榜 更多 +
魔兽8m补丁 附使用方法

魔兽8m补丁 附使用方法

行业软件 下载
富甲天下5修改器 v1.0.5.0中文绿色版

富甲天下5修改器 v1.0.5.0中文绿色版

行业软件 下载
造梦西游5小望修改器 v2.2.1中文免费版

造梦西游5小望修改器 v2.2.1中文免费版

行业软件 下载