assembly in other dir

  • Thread starter Thread starter Alexander Widera
  • Start date Start date
A

Alexander Widera

hi,

is it possible to place my .dll -files instead of in the bin dir of the
website in an other directory somewhere on my computer? the assemblies
should be loaded automatically. I want to centralize my dll-files.

Thanks for help,

alex
 
Assembly loading in .NET is done by the assembly resolver. It has certain
rules it follows when loading assemblies and these rules are influenced by
configuration. In a stand-alone application you can configure this behavior
by modifying the application configuration file, but in ASP.NET the ASP.NET
runtime configures the host AppDomain. When it does this, it essentially
gives you the two options of the GAC or the ~/bin.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 
what is GAC ?


Brock Allen said:
Assembly loading in .NET is done by the assembly resolver. It has certain
rules it follows when loading assemblies and these rules are influenced by
configuration. In a stand-alone application you can configure this
behavior by modifying the application configuration file, but in ASP.NET
the ASP.NET runtime configures the host AppDomain. When it does this, it
essentially gives you the two options of the GAC or the ~/bin.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 
Back
Top