GenerateApplicationManifest Class
Implements the GenerateApplicationManifest task. Use the GenerateApplicationManifest element in the project file to create and execute this task. For usage and parameter information, see GenerateApplicationManifest Task.
Microsoft.Build.Utilities::Task
Microsoft.Build.Tasks::GenerateManifestBase
Microsoft.Build.Tasks::GenerateApplicationManifest
Assembly: Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)
The GenerateApplicationManifest type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | GenerateApplicationManifest | Infrastructure. Initializes a new instance of the GenerateApplicationManifest class. |
| Name | Description | |
|---|---|---|
![]() | AssemblyName | Infrastructure. Gets or sets the name of the assembly. (Inherited from GenerateManifestBase.) |
![]() | AssemblyVersion | Infrastructure. Gets or sets the assembly version. (Inherited from GenerateManifestBase.) |
![]() | BuildEngine | Gets or sets the instance of the IBuildEngine object used by the task. (Inherited from Task.) |
![]() | BuildEngine2 | Gets the instance of the IBuildEngine2 object used by the task. (Inherited from Task.) |
![]() | BuildEngine3 | Gets the instance of the IBuildEngine3 object used by the task. (Inherited from Task.) |
![]() | ClrVersion | Infrastructure. Gets or sets the minimum version of the Common Language Runtime (CLR) required by the application. |
![]() | ConfigFile | Infrastructure. Gets or sets the task item that contains the application configuration file. |
![]() | Dependencies | Infrastructure. Gets or sets an item list that defines the set of dependent assemblies for the generated manifest. |
![]() | Description | Infrastructure. Gets or sets the manifest description text. (Inherited from GenerateManifestBase.) |
![]() | EntryPoint | Infrastructure. Gets or sets the managed assembly or ClickOnce manifest reference that is the entry point to the manifest. (Inherited from GenerateManifestBase.) |
![]() | ErrorReportUrl | Infrastructure. Gets or sets the URL of the Web page that is displayed in dialog boxes during ClickOnce installations. |
![]() | FileAssociations | Infrastructure. Gets or sets a list of one or more file type that are associated with the ClickOnce deployment manifest. File associations only valid only when .NET Framework 3.5 or later is targeted. |
![]() | Files | Infrastructure. Gets or sets the full paths of files to include in the manifest. |
![]() | HelpKeywordPrefix | Gets or sets the prefix used to compose Help keywords from resource names. (Inherited from Task.) |
![]() | HostInBrowser | Infrastructure. Gets or sets whether the application is hosted in a browser (as are WPF Web Browser Applications). |
![]() | HostObject | Gets or sets the host object associated with the task. (Inherited from Task.) |
![]() | IconFile | Infrastructure. Gets or sets the application's icon file. |
![]() | InputManifest | Infrastructure. Gets or sets the input manifest. (Inherited from GenerateManifestBase.) |
![]() | IsolatedComReferences | Infrastructure. Gets or sets COM components to isolate in the generated manifest. |
![]() | Log | Gets an instance of a TaskLoggingHelper class containing task logging methods. (Inherited from Task.) |
![]() | ManifestType | Infrastructure. Gets or sets the type of manifest to generate. |
![]() | MaxTargetPath | Infrastructure. Gets or sets the maximum manifest file name length. (Inherited from GenerateManifestBase.) |
![]() | OSVersion | Infrastructure. Gets or sets the operating system (OS) version that is the minimum required by the application. |
![]() | OutputManifest | Infrastructure. Gets or sets the generated manifest. (Inherited from GenerateManifestBase.) |
![]() | Platform | Infrastructure. Gets or sets the manifest platform. (Inherited from GenerateManifestBase.) |
![]() | Product | Infrastructure. Specifies the ProductName property in the project file. |
![]() | Publisher | Infrastructure. Specifies the PublisherName property in the project file. |
![]() | RequiresMinimumFramework35SP1 | Gets or sets whether the application requires the .NET Framework 3.5 SP1. |
![]() | SuiteName | Infrastructure. Gets or sets the name of the folder on the Start menu where the application is located after ClickOnce deployment. |
![]() | SupportUrl | Infrastructure. Specifies the SupportUrl property in the project file. |
![]() | TargetCulture | Infrastructure. Gets or sets the manifest target culture code. (Inherited from GenerateManifestBase.) |
![]() | TargetFrameworkMoniker | Gets or sets the target framework moniker. (Inherited from GenerateManifestBase.) |
![]() | TargetFrameworkProfile | Gets or sets the target framework profile. |
![]() | TargetFrameworkSubset | Gets or sets the name of the .NET Framework subset to target. |
![]() | TargetFrameworkVersion | Infrastructure. The target .NET Framework version for the project. (Inherited from GenerateManifestBase.) |
![]() | TaskResources | Gets or sets the culture-specific resources associated with the task. (Inherited from Task.) |
![]() | TrustInfoFile | Infrastructure. Gets or sets an XML document that specifies the application security. |
![]() | UseApplicationTrust | Infrastructure. Specifies whether the Product, Publisher, and SupportUrl properties are written to the application manifest. |
| Name | Description | |
|---|---|---|
![]() | AddAssemblyFromItem | Infrastructure. Adds an assembly reference to the manifest, based on the specified item. (Inherited from GenerateManifestBase.) |
![]() | AddAssemblyNameFromItem | Infrastructure. Adds an assembly reference to the manifest, based on the specified item and the assembly reference type. (Inherited from GenerateManifestBase.) |
![]() | AddEntryPointFromItem | Infrastructure. Adds an entry point reference to the manifest, based on the specified item and the assembly reference type. (Inherited from GenerateManifestBase.) |
![]() | AddFileFromItem | Infrastructure. Adds a file reference to the manifest, based on the specified item. (Inherited from GenerateManifestBase.) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Execute | Infrastructure. Executes the GenerateManifestBase task. (Inherited from GenerateManifestBase.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FindFileFromItem | Infrastructure. Returns the manifest file reference that matches the specified item. (Inherited from GenerateManifestBase.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetObjectType | Infrastructure. When implemented in a derived class, returns the type of the manifest. (Inherited from GenerateManifestBase.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnManifestLoaded | Infrastructure. When implemented in a derived class, sets manifest properties and any dependencies. (Inherited from GenerateManifestBase.) |
![]() | OnManifestResolved | Infrastructure. When implemented in a derived class, sets resolved manifest properties. (Inherited from GenerateManifestBase.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | ValidateInputs | Infrastructure. Validates the inputs of the GenerateManifestBase task. (Inherited from GenerateManifestBase.) |
![]() | ValidateOutput | Infrastructure. Validates the generated manifest. (Inherited from GenerateManifestBase.) |
EntryPoint is an optional ITaskItem[] parameter that indicates the entry point for the generated manifest assembly. For a ClickOnce deployment manifest, this input specifies the ClickOnce application manifest.
In Visual Studio 2005, the GenerateApplicationManifest Task requires an EntryPoint when an application manifest is generated. (Assembly or native manifests do not require an EntryPoint.) This requirement is enforced by the build error "MSB3185: EntryPoint not specified for manifest."
In Visual Studio 2008, MSBuild does not issue this error when the EntryPoint task parameter is not specified. Instead, the <customHostSpecified> tag is inserted as a child of the <entryPoint> tag, for example, as follows.
<entryPoint xmlns="urn:schemas-
microsoft-com:asm.v2">
<co.v1:customHostSpecified />
</entryPoint>
You can add DLL dependencies to the application manifest by using the following steps:
Resolve the references in the assembly by using a call to ResolveAssemblyReference.
Pass the output of the previous task and the assembly itself to ResolveManifestFiles.
Pass the dependencies by using the Dependencies parameter to GenerateApplicationManifest.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
