How to use gacutil.exe

brgdotnet
brgdotnet used Ask the Experts™
on
If I have a dll named Joes.dll and I want to install it into the gac, would the following command work: gacutil.exe /i Joes.dll

Or, would i need to specify the path where Joes.dll is located?

I read the documentation on using gacutil.exe and I am confused. So i need some help by and expert.

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Yes, what you guessed is correct.

if I have Joes.dll located at c:\windows\system32 then you need to specify like

gacutil.exe -i c:\windows\system32\Joes.dll

best of luck
Éric MoreauSenior .Net Consultant
Top Expert 2016
Commented:
it should work if your DLL has been compiled with Visual Studio .Net and you strong-build it.
brgdotnetcontractor

Author

Commented:
Thank you experts
You are most welcome brgdotnet!.
For documentation you can say

gacutil/?

at the command prompt. or as usual you can google to get more details on it.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial