IAssemblyCache::InstallAssembly Method
Installs the specified assembly in the global assembly cache.
HRESULT InstallAssembly (
[in] DWORD dwFlags,
[in] LPCWSTR pszManifestFilePath,
[in] LPCFUSION_INSTALL_REFERENCE pRefData
);
Parameters
dwFlags
[in] Flags defined in Fusion.idl. The following values are supported:IASSEMBLYCACHE_INSTALL_FLAG_REFRESH (0x00000001)
IASSEMBLYCACHE_INSTALL_FLAG_FORCE_REFRESH (0x00000002)
pszManifestFilePath
[in] The path to the manifest for the assembly to install.pRefData
[in] A FUSION_INSTALL_REFERENCE structure that contains data for the installation.
Requirements
Platforms: See .NET Framework System Requirements.
Header: Fusion.h
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0