How to add a dll to gac in vista

后端 未结 6 714
谎友^
谎友^ 2021-01-12 17:09

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?

6条回答
  •  不思量自难忘°
    2021-01-12 17:54

    You can do that with gacutil.exe. It is located in:

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
    

    It is only there though, if you installed the .NET SDK (not just the .Net Redistributible). But you can copy it from your developer machine.

提交回复
热议问题