Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add a dll to gac in vista

When I drag & drop a dll to the assembly folder on vista, I get the error "Access is denied: mydll.dll". How can I bypass the error message and add my dll to gac?

like image 258
Serhat Ozgel Avatar asked Sep 09 '08 22:09

Serhat Ozgel


People also ask

Where is GAC DLL?

It is located in %windir%\assembly (for example, C:\WINDOWS\assembly) and it is a shared repository of libraries.

Which command is used to add the assembly to GAC?

You can use the . NET Global Assembly Cache utility (gacutil.exe) to add assemblies to the global assembly cache and to view the contents of the global assembly cache.


1 Answers

My guess would be that you have to do it as an administrator...try either disabling UAC, or using gacutil.exe to add your assembly.

like image 67
Jonas Avatar answered Oct 23 '22 03:10

Jonas