1

On Windows Server 2016 gacutil.exe is not available and in that case how do I register a custom dll into GAC on this?

This tool is automatically installed with Visual Studio as per https://docs.microsoft.com/en-us/dotnet/framework/tools/gacutil-exe-gac-tool. I can not install Visual Studio for this on the server.

4
  • Why not copy from a system that does have Visual Studio?
    – Greg Askew
    May 17, 2019 at 17:12
  • Tried, it doesn't work that way.
    – Krunal
    May 18, 2019 at 18:47
  • You need to copy three files: gacutil.exe, gacutil.exe.config, and gacutlrc.dll from the language subfolder (1033 for example).
    – Greg Askew
    May 18, 2019 at 19:04
  • This worked, can you post an answer?
    – Krunal
    Jun 21, 2019 at 6:39

1 Answer 1

2

Copy these three files: gacutil.exe, gacutil.exe.config, and gacutlrc.dll from the language subfolder (1033 for example) from a system that has Visual Studio to the system where you need to run gacutil.

1
  • Thanks this Saved my time.
    – SPKan
    Nov 18, 2019 at 4:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .