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?
“But how can i deploy my dll on Client Server because he might don’t have visual studio”
If I remember correctly, gacutil is also present in C:\windows\Microsoft.Net\some folder\
Another way: If using a primitive .cmd => You could bundle gacutil.exe and gacutil.exe.config along with your script.
Yet another way: If you are using windows installer, that has in built support for GACing assemblies.
Also, note that there are different GACs for x86 and x64 assemblies (ignore if your assembly is MSIL).