Thursday, August 07, 2008

Installing shared assembly in GAC using deployment project

If You are using any shared assembly in you project and using deployment project to deploy it, by defult the assembly will be deployed in BIN folder although it is a shared assembly.To deploy it in GAC you need to follow following steps.

  • Open the Setup Project.
  • Open File System Editor From View->Editor->File System
  • File System will have various folders like Application folder, User desktop etc. Right click on the file system you will find Add Special folder context menu and different special folder will be displayed.
  • Select Global Assmbly Cache folder, which will add this folder to the File System .
  • Now add the shared assemblies to this and build it.

Namastee !