Click here to Skip to main content
15,893,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,

I am learning to develop desktop applications using Windows Forms.

In my stand-alone application I am referring to assemblies that are installed in GAC. Now while deploying this application on client machines along with .NET framework I also have to carry these assemblies onto client machine. How to do this? Can anyone help me. . .
Posted

you need to put all those required dll to the bin folder of your solution.
when u add reference any reference to your solution first of all it check for that dll GAC if not available than in BIN. so on order to reference that dll in your client machine you need to copy that dll to your BIN folder of your application.

--SG
 
Share this answer
 
Comments
krishnaprasad62 1-Oct-13 6:59am    
Thank you. . .
You need to install thse shared assemblies in the GAC.
This can be done by using Gacutil - How to install an assembly into the Global Assembly Cache in Visual C#[^].
E.g. gacutil -I "[DriveLetter]:\[PathToBinDirectoryInVSProject]\assembly.dll"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900