How to add a dll to gac in vista

15,799

Solution 1

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.

Solution 2

Use runas command to run gacutil as a user with local admin rights to register the dll to GAC.

Share:
15,799
Serhat Ozgel
Author by

Serhat Ozgel

Software developer and consultant. Areas of expertise: Web application and api development, software development, cloud architecture, mobile application backend development, e-commerce software development and integration.

Updated on June 22, 2022

Comments

  • Serhat Ozgel
    Serhat Ozgel over 1 year

    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?