Home > DeveloperSection > Interviews > How do you install assembly to the Global Assembly Cache?

Posted on    March-18-2011 12:00 AM

 Assembly Assembly 
 1 Answer(s)
  1096  View(s)
Rate this:

Varun Agrawal
Varun Agrawal

Total Post:159

Posted on    March-18-2011 12:00 AM

Followings are the steps to install assembly to the GAC.
  • Sign assembly with a strong name using strong name utility, sn.exe.
  • Open the AssemblyInfo file for your project.
  • Use the AssemblyKeyFileAttribute to specify the path to the key file for your project.
  • Build your assembly. Install the assembly to GAC by using gacutil utility e.g. gacutil -i abc.dll

Don't want to miss updates? Please click the below button!

Follow MindStick