Question: I develop a Microsoft .NET C# custom control module for ACT! 2010 in Windows 7. ACT! clients need to have a copy of ACT! assemblies (i.e. the compiled code libraries) to run properly. On my computer these files are available only in GAC in the folder of C:\Windows\assembly. When I look at the folder it does not show any DLL file but assembly symbols only. How can I make a copy of these files to create a full release package?
Answer: You must have Microsoft.Net 2.0 installed on your PC that offers an easy solution. The Assembly Cache Viewer (ACV) is a shell extension that allows you to view and manipulate the contents of the Global Assembly Cache (GAC) with Windows Explorer. The shell extension file (shfusion.dll) is located in the Microsoft.NET folder.
1. Uninstall shfusion.dll in the Command Prompt window. Run it as an administrator. Type in:
Keep the Command Prompt window open. You will need it in step 3.
2. Go to the C:\Windows\assembly folder. You can now see the regular folder view in the Windows Explorer. Copy the DLLs you want to your own project folder.
3. You have to reregister the shfusion.dll:
4. Close the Command Prompt window.
That’s it.
(Do you really have to include these files? ACT’! installs them on the client’s computer. You only have to pay attention to the version numbers.)