Src/Pscx.Core/Interop/Fusion/IAssemblyCache.cs
/// <summary>
/// The IAssemblyCache::InstallAssembly method adds a new assembly to the GAC. The assembly must be persisted in the file 
/// system and is copied to the GAC.
/// </summary>
/// <param name="dwFlags">At most, one of the bits of the IASSEMBLYCACHE_INSTALL_FLAG_* values can be specified: 
///		*_REFRESH - If the assembly is already installed in the GAC and the file version numbers of the assembly being 
///		installed are the same or later, the files are replaced.
///		*_FORCE_REFRESH - The files of an existing assembly are overwritten regardless of their version number.</param>
/// <param name="pszManifestFilePath"> A string pointing to the dynamic-linked library (DLL) that contains the assembly manifest. 
///	Other assembly files must reside in the same directory as the DLL that contains the assembly manifest.</param>
/// <param name="pRefData">A pointer to a FUSION_INSTALL_REFERENCE that indicates the application on whose behalf the 
/// assembly is being installed. Although this is not recommended, this parameter can be null, but this leaves the assembly 
/// without any application reference.</param>
/// <returns></returns>
The IAssemblyCache::InstallAssembly method adds a new assembly to the GAC. The assembly must be persisted in the file
system and is copied to the GAC.
The IAssemblyCache :: InstallAssembly method adds a new assembly to the GAC . The assembly must be persisted in the file system and is copied to the GAC .
[PreserveSig]
        int InstallAssembly(
            uint dwFlags,
            [MarshalAs(UnmanagedType.LPWStr)] string pszManifestFilePath,
            [MarshalAs(UnmanagedType.LPArray)] FUSION_INSTALL_REFERENCE[] pRefData);
[ PreserveSig ] int InstallAssembly ( uint dwFlags , [ MarshalAs ( UnmanagedType . LPWStr ) ] string pszManifestFilePath , [ MarshalAs ( UnmanagedType . LPArray ) ] FUSION_INSTALL_REFERENCE [ ] pRefData ) ;
The IAssemblyCache::InstallAssembly method adds a new assembly to the GAC.
The IAssemblyCache :: InstallAssembly method adds a new assembly to the GAC .
None
dwFlags
uint
At most, one of the bits of the IASSEMBLYCACHE_INSTALL_FLAG_* values can be specified:
_REFRESH - If the assembly is already installed in the GAC and the file version numbers of the assembly being
installed are the same or later, the files are replaced.
_FORCE_REFRESH - The files of an existing assembly are overwritten regardless of their version number.
At most one of the bits of the IASSEMBLYCACHE_INSTALL_FLAG_ * values can be specified : _REFRESH - If the assembly is already installed in the GAC and the file version numbers of the assembly being installed are the same or later the files are replaced . _FORCE_REFRESH - The files of an existing assembly are overwritten regardless of their version number .
string
[MarshalAs(UnmanagedType.LPWStr)]
FUSION_INSTALL_REFERENCE[]
[MarshalAs(UnmanagedType.LPArray)]
pszManifestFilePath
A string pointing to the dynamic-linked library (DLL) that contains the assembly manifest.
Other assembly files must reside in the same directory as the DLL that contains the assembly manifest.
A string pointing to the dynamic - linked library ( DLL ) that contains the assembly manifest . Other assembly files must reside in the same directory as the DLL that contains the assembly manifest .
pRefData
A pointer to a FUSION_INSTALL_REFERENCE that indicates the application on whose behalf the
assembly is being installed. Although this is not recommended, this parameter can be null, but this leaves the assembly
without any application reference.
A pointer to a FUSION_INSTALL_REFERENCE that indicates the application on whose behalf the assembly is being installed . Although this is not recommended this parameter can be null but this leaves the assembly without any application reference .