Question: How Install Exe Assemblies In GAC & How Use IT ? please explain how i can install exe assemblies in gac and how i can use it .\nThanks.

Answer: Before putting the Assembly in GAC, we have to assign the strong name to that assembly, ( To create a strong name we have to use the command line tool called sn )\n\nex. sn -k c:&#92;snKey.snk\n\nThis strong name file path, we have to assign in the assembly attribute(AssemblyKeyFile) of the AssemblyInfo file of that dll\n\nex : [assembly: AssemblyKeyFile("c:&#92;snKey.snk")]\n\nand compile the assembly and place this dll and use like any system dll in all projects
This question from the Yahoo Q&A forum is categorized in the topic: Family & Relationships