Access to dll methods

后端 未结 3 1479
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-03 16:58


I prepared some C# dll for my customer that doing some functionality.
The thing is that I use also same dll.
How can I make some methods available to him and al

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-03 17:46

    You could use the C# preprocessor directives like #define to compile two versions of the library from the same code base.

    Then ship one version to your customer, keep the other version for yourself.

提交回复
热议问题