IAssemblyCache interface (winsxs.h)

The IAssemblyCache interface can be used to install, uninstall, or query a side-by-side assembly. An instance of IAssemblyCache is obtained by calling the CreateAssemblyCache function.

Inheritance

The IAssemblyCache interface inherits from the IUnknown interface. IAssemblyCache also has these types of members:

Methods

The IAssemblyCache interface has these methods.

 
IAssemblyCache::CreateAssemblyCacheItem

The CreateAssemblyCacheItem method creates an item in the assembly cache that corresponds to the side-by-side assembly being installed.
IAssemblyCache::InstallAssembly

The InstallAssembly method adds an application reference to an assembly to the side-by-side store and copies the files of the assembly to the side-by-side store. The files of the assembly being installed must be present in the current file system.
IAssemblyCache::QueryAssemblyInfo

The QueryAssemblyInfo method queries the side-by-side assembly store for assembly information and validates the files in the side-by-side assembly store against the assembly manifest.
IAssemblyCache::UninstallAssembly

The UnistallAssembly method removes an application reference to an assembly from the side-by-side store.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header winsxs.h