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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -