Using gacutil to install a .dll

scapegoat17 picture scapegoat17 · Oct 10, 2013 · Viewed 23.8k times · Source

I am trying to install a .dll refrence to use it in my code, but i am having issues using the gacutil. Would anyone be able to help me with the format of this?

I have tried using http://msdn.microsoft.com/en-us/library/ex0ss12c.aspx But i must still be doing something wrong...

the .dll that i am trying to install is Office.dll

Here is what i have tried:

gacutil /i Office.dll "C:\File\path\Office.dll"

It comes up with an error saying:

Unknown option: C:\File\path\Office.dll

Would anyone have any ideas to help me with this?

Answer

Royi Namir picture Royi Namir · Oct 10, 2013

You don't need the second param

just use :

gacutil /i "C:\File\path\Office.dll"