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

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

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

4条回答
  •  星月不相逢
    2021-01-14 12:17

    You can embed you DLL into your EXE via setting the "Build Action"-Property to "Embedded ressource". Your DLL is not shipped as a single file and no one can use it.

提交回复
热议问题