Reputation: 983
how to deploy reference dlls if i kept setting CopyLocal = False at the time of development?
As reference dlls will be in some different location at deployment server?
Upvotes: 3
Views: 2919
Reputation: 12735
If you have set the Copy Local to false then try adding the reference to that DLL using add reference in VS.
Go To Soloution Explorer -> Right Click -> Add Reference ->Browse ->Select the DLL
The other approach will be , installing your DLL to GAC by using GACUtil.exe:
gacutil -i [assemblyPath ]
Upvotes: 0
Reputation: 63065
You can have dlls located on a share somewhere (e.g. /bin/SubDir)
, set CopyLocal
to false
and make sure your project's references path (in Properties) includes the shared folder.
Upvotes: 2
Reputation: 94625
You can share your assemblies
by installing them into Global Assemble Cache.
Upvotes: 3
Reputation: 2202
You can manually copy them to the bin directory when you deploy it.
Upvotes: 2