Share via


Manifest Class

Definition

Describes base functionality common to all supported manifest types.

public ref class Manifest abstract
[System.Runtime.InteropServices.ComVisible(false)]
public abstract class Manifest
[<System.Runtime.InteropServices.ComVisible(false)>]
type Manifest = class
Public MustInherit Class Manifest
Inheritance
Manifest
Derived
Attributes

Constructors

Manifest()

Initializes a new instance of the Manifest class.

Properties

AssemblyIdentity

Specifies the identity of the manifest.

AssemblyName

Assembly name passed to the manifest generation task

AssemblyReferences

Specifies the set of assemblies referenced by the manifest.

Description

Specifies a textual description for the manifest.

EntryPoint

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

FileReferences

Specifies the set of files referenced by the 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.

LauncherBasedDeployment

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

OutputMessages

Contains a collection of current error and warning messages.

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.

SourcePath

Specifies the location where the manifest was loaded or saved.

XmlAssemblyIdentity

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

XmlAssemblyReferences

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

XmlDescription

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

XmlFileReferences

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

XmlSchema

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

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.

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.

ToString()

Returns the manifest name.

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.

UpdateFileInfo(String)

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

Validate()

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

ValidatePlatform()

Validates the manifest platform.

Applies to