IAssemblyCache::InstallAssembly Method
Installs the specified assembly in the global assembly cache.
Syntax
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 System Requirements.
Header: Fusion.h
.NET Framework Versions: Available since 2.0
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.