How to install assembly in GAC?
The very simple way would be to use command prompt. Sounds difficult but it's not.
To have Gacutil installed, either need some version of Windows SDK or
if you cannot install SDK, then copy following 3 files from the machine where Visual Studio or SDK is already installed. I copied them from C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools
The files are:
Run following:
gacutil.exe -I <dllfilename> to install the DLLs in the GAC.
Assembly Locations:
For FW 2.0, its C:\Windows\assembly
For FW 4.0, its C:\Windows\Microsoft.NET\assembly\
In folder above, you can look in 32 or 64 or MSIL folder.
The very simple way would be to use command prompt. Sounds difficult but it's not.
To have Gacutil installed, either need some version of Windows SDK or
if you cannot install SDK, then copy following 3 files from the machine where Visual Studio or SDK is already installed. I copied them from C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools
The files are:
- gacutil.exe
- gacutil.exe.config
- 1033\gacutlrc.dll (can be placed in the same dir as gacutil.exe on the server)
Run following:
gacutil.exe -I <dllfilename> to install the DLLs in the GAC.
Assembly Locations:
For FW 2.0, its C:\Windows\assembly
For FW 4.0, its C:\Windows\Microsoft.NET\assembly\
In folder above, you can look in 32 or 64 or MSIL folder.
No comments:
Post a Comment