次の方法で共有


AssemblyManifest Class

Definition

Describes a Win32 assembly manifest.

public ref class AssemblyManifest : Microsoft::Build::Tasks::Deployment::ManifestUtilities::Manifest
[System.Runtime.InteropServices.ComVisible(false)]
public class AssemblyManifest : Microsoft.Build.Tasks.Deployment.ManifestUtilities.Manifest
[<System.Runtime.InteropServices.ComVisible(false)>]
type AssemblyManifest = class
    inherit Manifest
Public Class AssemblyManifest
Inherits Manifest
Inheritance
AssemblyManifest
Derived
Attributes

Remarks

This is a serialization format, do not remove or rename private fields.

Constructors

AssemblyManifest()

Initializes a new instance of the AssemblyManifest class.

Properties

AssemblyIdentity

Specifies the identity of the manifest.

(Inherited from Manifest)
AssemblyName

Assembly name passed to the manifest generation task

(Inherited from Manifest)
AssemblyReferences

Specifies the set of assemblies referenced by the manifest.

(Inherited from Manifest)
Description

Specifies a textual description for the manifest.

(Inherited from Manifest)
EntryPoint

Identifies an assembly reference which is the entry point of the application.

(Inherited from Manifest)
ExternalProxyStubs

Specifies the set of external proxy stubs referenced by the manifest for isolated applications and Reg-Free COM.

FileReferences

Specifies the set of files referenced by the manifest.

(Inherited from Manifest)
InputStream

The input stream from which the manifest was read. Used by ManifestWriter to reconstitute input which is not represented in the object representation.

(Inherited from Manifest)
LauncherBasedDeployment

Indicates if manifest is part of Launcher-based deployment, which requires somewhat different manifest generation and validation.

(Inherited from Manifest)
OutputMessages

Contains a collection of current error and warning messages.

(Inherited from Manifest)
ReadOnly

Specifies whether the manifest is operating in read-only or read-write mode. If only using to read a manifest then set this flag to true. If using to write a new manifest then set this flag to false. The default is false. This flag provides additional context for the manifest generator, and affects how some error messages are reported.

(Inherited from Manifest)
SourcePath

Specifies the location where the manifest was loaded or saved.

(Inherited from Manifest)
XmlAssemblyIdentity

Gets or sets a property that is used to serialize the AssemblyIdentity property to an XML file.

(Inherited from Manifest)
XmlAssemblyReferences

Gets or sets a property that is used to serialize the AssemblyReferences property to an XML file.

(Inherited from Manifest)
XmlDescription

Gets or sets a property that is used to serialize the Description property to an XML file.

(Inherited from Manifest)
XmlExternalProxyStubs

Gets or sets the set of external proxy stubs referenced by the manifest for isolated applications and Reg-Free COM in XML format.

XmlFileReferences

Gets or sets a property that is used to serialize the FileReferences property to an XML file.

(Inherited from Manifest)
XmlSchema

Gets or sets a property that is used to serialize the schema to an XML file.

(Inherited from Manifest)

Methods

ResolveFiles()

Locates all specified assembly and file references by searching in the same directory as the loaded manifest, or in the current directory. The location of each referenced assembly and file is required for hash computation and assembly identity resolution. Any resulting errors or warnings are reported in the OutputMessages collection.

(Inherited from Manifest)
ResolveFiles(String[])

Locates all specified assembly and file references by searching in the specified directories. The location of each referenced assembly and file is required for hash computation and assembly identity resolution. Any resulting errors or warnings are reported in the OutputMessages collection.

(Inherited from Manifest)
ToString()

Returns the manifest name.

(Inherited from Manifest)
UpdateFileInfo()

Updates file information for each referenced assembly and file. The file information includes a hash computation and a file size for each referenced file and assembly. Also, the assembly identity is obtained for any referenced assemblies with an unspecified assembly identity. Any resulting errors or warnings are reported in the OutputMessages collection.

(Inherited from Manifest)
UpdateFileInfo(String)

Updates file information for each referenced assembly and file, using the specified version of the target framework.

(Inherited from Manifest)
Validate()

Performs various checks to verify the validity of the manifest. Any resulting errors or warnings are reported in the OutputMessages collection.

(Inherited from Manifest)
ValidatePlatform()

Validates the manifest platform.

(Inherited from Manifest)

Applies to