How to add the assemly to GAC
-
Hai all, I have created a Dll which i want to place it in GAC so that I can use it in another projects. I am new to dotnet. Please show me the way the assemblies are placed in GAC. SukanyaVarma
-
Hai all, I have created a Dll which i want to place it in GAC so that I can use it in another projects. I am new to dotnet. Please show me the way the assemblies are placed in GAC. SukanyaVarma
Hello You need to use
gacutil.exe
for it.gacutil.exe /i <assembly_path>
With best regards, Andrew Kirillov, MCP x 3 Prize winner, August 2005
-
Hai all, I have created a Dll which i want to place it in GAC so that I can use it in another projects. I am new to dotnet. Please show me the way the assemblies are placed in GAC. SukanyaVarma
The assembly must also be strong named (signed) and you must be an administrator to add strong named assemblies to the GAC because it is a trusted store (and is not subjected to stack walks when checking code-access security). For information about strong name assemblies, read http://msdn.microsoft.com/library/en-us/cpguide/html/cpconStrong-NamedAssemblies.asp[^] and be sure to follow the "See also" links at the bottom of the page as well. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Customer Product-lifecycle Experience Microsoft [My Articles] [My Blog]
-
The assembly must also be strong named (signed) and you must be an administrator to add strong named assemblies to the GAC because it is a trusted store (and is not subjected to stack walks when checking code-access security). For information about strong name assemblies, read http://msdn.microsoft.com/library/en-us/cpguide/html/cpconStrong-NamedAssemblies.asp[^] and be sure to follow the "See also" links at the bottom of the page as well. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Customer Product-lifecycle Experience Microsoft [My Articles] [My Blog]
Thank you Andrew Kirillov, Thank You Heath Stewart Thanks for your responses. With Regards SukanyaVarma sukanyavarma