Because of the strict security on Windows Server 2008 it is no longer possible to just copy and paste the dll files to the GAC like we did with version 2.5. You have to do this with a tool called GACutil.exe. This tool can be found (when you have installed Visual Studio 8 ) in the directory c:\program files (x86)\microsoft visual studio 8\SDK\v2.0\bin. Otherwise download it.
With this tool you can copy the dll files (48 in total) to c:\windows\assembly (GAC). To copy them one by one is a hell of a job so you can do that with a text file with all the names of the dll files. I already made such a file, download it here.
Follow these steps to copy all dll files:
- Copy text file to the directory of the Enterprise Library 4.1 (download here) where all dll files are located, which is C:\Program Files (x86)\Microsoft Enterprise Library 4.1 - October 2008\Bin.
- Open command prompt with ¨run as administrator¨
- Type command <path>\Gacutil.exe /il ¨C:\Program Files (x86)\Microsoft Enterprise Library 4.1 - October 2008\Bin\list.txt¨
- All files are copied to the GAC (see screenshot below)
Tags: Best Practices, GAC, solution, tools



January 14th, 2010 at 9:11 PM
Need a code for facet 3.0
January 14th, 2010 at 10:52 PM
what kind of code do you mean?