1
Answer

Consuming Assemblies from GAC

Ask a question
Hi, I have created an assembly Sample.dll and registered the same in the GAC with Strong Name. Should I need to add a reference to the project inorder to consume this assembly (Sample.dll). If we need to add a reference to an assembly registered in GAC, then what is the advantage of GAC. There should be some way to consume an assembly registered in GAC. I also tried adding reference in the aspx page as follows: <%@ Import Namespace="Sample" %> Someone help me with an simple example to consume (Invoke method from the assembly) an assembly registered in GAC. Regards, Senthilkumar.T

Answers (1)