c# - How to call function from specific referenced DLL -


i need call specific function castle.core.dll seems though automapper , moq have castle.core merged assemblies.

this need call

castle.dynamicproxy.generators.attributestoavoidreplicating.add(typeof(system.security.permissions.uipermissionattribute)); 

but ambiguous reference because castle.core technically available in 3 locations (automapper, moq, , standalone dll)

i can't un-ref of dlls because managed nuget , castle.core standalone needed nhib , other dlls pulled in automapper , moq nuget packages.

any suggestions? other not depending on nuget managing library refs?

you try using extern aliases. can find property on assembly references.

look @ question detail:
what use aliases property of assembly references in visual studio 8


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -