Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gacutil is not recognized as an internal or external command?

Tags:

I have created a Console Application With Adding External Dll Ref.
Now i have to deploy my External Dll to my Assembly.
When i was trying to add my dll in GAC.

  GACUTIL.EXE /i MyLibrary.dll  

command to add my dll into Assembly , Its showing me error

*gacutil is not recognized as an internal or external comma*

how can i fix?

like image 284
Kaps Hasija Avatar asked Sep 12 '12 10:09

Kaps Hasija


People also ask

Where is the Gacutil command?

C:\Program Files\Microsoft.NET.

Where is Gacutil exe installed?

The Gacutil.exe tool is located in the . NET Framework installation directory. The default location for this is C:\Program Files (x86)\Microsoft SDKs\Windows\v10.


2 Answers

For Windows 10 path is: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin

like image 99
GorvGoyl Avatar answered Oct 19 '22 23:10

GorvGoyl


If you already installed Visual studio then you can use Developer Command Prompt instead of normal Command prompt to access the gacutil directly.

You can find Developer Command Prompt here:

Start Menu > Visual Studio 20XX > Developer Command Prompt for VS20XX

like image 28
Hossein Rashno Avatar answered Oct 20 '22 00:10

Hossein Rashno