How to forbid a .NET DLL class library to be referenced

前端 未结 4 1559
被撕碎了的回忆
被撕碎了的回忆 2021-01-14 11:42

How can I forbid dll class library to be referenced in other solutions?

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-14 12:26

    You can use something called as StrongNameIdentityPermission to prevent others from referencing your library.

提交回复
热议问题