c# - Use references from attached DLL file -


i have created dll contains reference microsoft.azure.devices (and other references). i'd able use dll in other projects without need reference microsoft.azure.devices each time. possible?

currently, in order use function of microsoft.azure.devices have reference in new project, isn't solution think - i'd dll "complete" reference - want use abstraction layer created without caring inside (what references used).

that sounds want use kind of dll weaving. merge external referenced assemblies , assembly new one.

there multiple frameworks achieve this. have used these two:

  • il merge
  • costura fody

from usage point of view fody easy use. reference using nuget (see https://www.nuget.org/packages/costura.fody/) that's pretty it. pack references 1 assembly. can find more information on git page https://github.com/fody/costura

the limitation of approach can not use signed assemblies think.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -