Referencing Binaries (Copy Local False) without GACing

  • Thread starter Thread starter Shikari Shambu
  • Start date Start date
S

Shikari Shambu

Hi,
Is there a way for a web application (ASP.NET) to reference binaries and
use it without having copy local set to true or GACing the binaries. If yes,
how would I do it.

TIA
 
Hi,
Is there a way for a web application (ASP.NET) to reference binaries and
use it without having copy local set to true or GACing the binaries. If yes,
how would I do it.

TIA

Yes, you can have dlls located on a share somewhere, set CopyLocal to
false and make sure your project's references path (in Properties)
includes the shared folder.
 
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin/SubDir"/>
</assemblyBinding>
</runtime>

</configuration>

Probing private path works well. In my path the dll's in SubDir are
available both at runtime. The dlls in my /bin/SubDir are not in the gac.
Shan Plourde
 
Back
Top