Dela via


ApplicationManifest Class

Definition

Describes a ClickOnce or native Win32 application manifest.

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

Remarks

This is a serialization format, don't remove the private fields.

Constructors

ApplicationManifest()

Initializes a new instance of the ApplicationManifest class.

ApplicationManifest(String)

Initializes a new instance of the ApplicationManifest 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)
ConfigFile

Gets or sets the application configuration file.

Description

Specifies a textual description for the manifest.

(Inherited from Manifest)
EntryPoint

Gets or sets an assembly reference that represents the entry point of the application.

ErrorReportUrl

Gets or sets the link to use if there is a failure launching the application. The specified value should be a fully qualified URL or UNC path.

ExternalProxyStubs

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

(Inherited from AssemblyManifest)
FileAssociations

Gets or sets the file associations that are defined in the manifest.

FileReferences

Specifies the set of files referenced by the manifest.

(Inherited from Manifest)
HostInBrowser

Gets or sets a value that indicates whether the application will run in IE using WPF's XBAP application model.

IconFile

Gets or sets the application icon file.

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)
IsClickOnceManifest

Gets or sets a value that indicates whether the manifest is a ClickOnce application manifest or a native Win32 application manifest.

LauncherBasedDeployment

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

(Inherited from Manifest)
MaxTargetPath

Gets or sets the maximum allowable length of a file path in a ClickOnce application deployment.

OSDescription

Gets or sets a textual description for the OS dependency.

OSSupportUrl

Gets or sets a support URL for the OS dependency.

OSVersion

Gets or sets the minimum OS version required by the application.

OutputMessages

Contains a collection of current error and warning messages.

(Inherited from Manifest)
Product

Gets or sets the name of the application.

Publisher

Gets or sets the publisher of the application.

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)
SuiteName

Gets or sets the suite name of the application.

SupportUrl

Gets or sets the link that appears in the Add/Remove Programs dialog for the application.

TargetFrameworkVersion

Gets or sets the target framework version

TrustInfo

Gets or sets a trust object defining the application security.

UseApplicationTrust

Gets or sets a value that indicates whether the install will use the settings in the application manifest in the trust prompt.

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)
XmlConfigFile

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

XmlDescription

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

(Inherited from Manifest)
XmlEntryPointIdentity

Gets or sets a property that is used to serialize the entry point identity to an XML file.

XmlEntryPointParameters

Gets or sets a property that is used to serialize the entry point parameters to an XML file.

XmlEntryPointPath

Gets or sets a property that specifies the entry point for executing the assembly and that is used to serialize the entry point to an XML file.

XmlErrorReportUrl

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

XmlExternalProxyStubs

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

(Inherited from AssemblyManifest)
XmlFileAssociations

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

XmlFileReferences

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

(Inherited from Manifest)
XmlHostInBrowser

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

XmlIconFile

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

XmlIsClickOnceManifest

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

XmlOSBuild

Gets or sets a property that is used to serialize the build version of the operating system to an XML file.

XmlOSDescription

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

XmlOSMajor

Gets or sets a property that is used to serialize the major portion of the version number of the operating system to an XML file.

XmlOSMinor

Gets or sets a property that is used to serialize the minor portion of the version number of the operating system to an XML file.

XmlOSRevision

Gets or sets a property that is used to serialize the revision portion of the version number of the operating system to an XML file.

XmlOSSupportUrl

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

XmlProduct

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

XmlPublisher

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

XmlSchema

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

(Inherited from Manifest)
XmlSuiteName

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

XmlSupportUrl

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

XmlUseApplicationTrust

Gets or sets a property that is used to serialize the UseApplicationTrust property 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.

(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 OutputMessageCollection object.

ValidatePlatform()

Validates the manifest platform.

(Inherited from Manifest)

Applies to