NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Assembly Cache Viewer (shfusion.dll)

The assembly cache viewer is a Windows shell extension that allows you to view and manipulate the contents of the global assembly cache using the Windows Explorer. The cache viewer allows you to look at the contents of the cache, add or delete assemblies from the cache and view an individual assembly’s properties.

To view the contents of the assembly cache, navigate to the “assembly” subdirectory of the Windows directory (typically c:\winnt\assembly) with the Windows Explorer:

Options

Delete an assembly. To delete an assembly from the cache, right click on that assembly in the viewer and select “Delete” from the context menu:

Or, you can use the following command line syntax to delete an assembly:

rundll32 fusion.dll, RemoveAssemblyFromCache assemblyname

For example:

rundll32 fusion.dll RemoveAssemblyFromCache calcr

View assembly properties. To view an assembly’s properties, right click on the assembly in the viewer and select properties. A property sheet is displayed which shows the assembly’s name, version, culture and originator as well as the codebase from which the assembly came and the last modified date of the assembly:

Add an assembly to the cache. To add an assembly to the assembly cache, simply drag and drop the file containing the manifest into the assembly cache directory using the Windows Explorer. Only assemblies with shared names may be added to the cache.

Or, you can add assemblies to the cache using the following command line syntax:

rundll32 fusion.dll, AddAssemblyToCache -m filepath

where filepath is the path to the file containing the manifest.

For example:

c:\mydir\myasm.dll