Share via


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.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Fusion.h

.NET Framework Version: 2.0

See Also

Reference

IAssemblyCache Interface