GenerateApplicationManifest Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

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.

Namespace:   Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)

System.Object
  Microsoft.Build.Utilities.Task
    Microsoft.Build.Tasks.GenerateManifestBase
      Microsoft.Build.Tasks.GenerateApplicationManifest

public sealed class GenerateApplicationManifest : GenerateManifestBase

NameDescription
System_CAPS_pubmethodGenerateApplicationManifest()

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the GenerateApplicationManifest class.

NameDescription
System_CAPS_pubpropertyAssemblyName

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the name of the assembly.(Inherited from GenerateManifestBase.)

System_CAPS_pubpropertyAssemblyVersion

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the assembly version.(Inherited from GenerateManifestBase.)

System_CAPS_pubpropertyBuildEngine

Gets or sets the instance of the IBuildEngine object used by the task.(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine2

Gets the instance of the IBuildEngine2 object used by the task.(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine3

Gets the instance of the IBuildEngine3 object used by the task.(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine4

Gets the instance of the IBuildEngine4 object used by the task.(Inherited from Task.)

System_CAPS_pubpropertyClrVersion

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the minimum version of the Common Language Runtime (CLR) required by the application.

System_CAPS_pubpropertyConfigFile

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the task item that contains the application configuration file.

System_CAPS_pubpropertyDependencies

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets an item list that defines the set of dependent assemblies for the generated manifest.

System_CAPS_pubpropertyDescription

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the manifest description text.(Inherited from GenerateManifestBase.)

System_CAPS_pubpropertyEntryPoint

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the managed assembly or ClickOnce manifest reference that is the entry point to the manifest.(Inherited from GenerateManifestBase.)

System_CAPS_pubpropertyErrorReportUrl

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the URL of the Web page that is displayed in dialog boxes during ClickOnce installations.

System_CAPS_pubpropertyFileAssociations

This API supports the product infrastructure and is not intended to be used directly from your code. 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.

System_CAPS_pubpropertyFiles

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the full paths of files to include in the manifest.

System_CAPS_pubpropertyHostInBrowser

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets whether the application is hosted in a browser (as are WPF Web Browser Applications).

System_CAPS_pubpropertyHostObject

Gets or sets the host object associated with the task.(Inherited from Task.)

System_CAPS_pubpropertyIconFile

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the application's icon file.

System_CAPS_pubpropertyInputManifest

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the input manifest.(Inherited from GenerateManifestBase.)

System_CAPS_pubpropertyIsolatedComReferences

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets COM components to isolate in the generated manifest.

System_CAPS_pubpropertyLog

Gets an instance of a TaskLoggingHelper class containing task logging methods.(Inherited from Task.)

System_CAPS_pubpropertyManifestType

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the type of manifest to generate.

System_CAPS_pubpropertyMaxTargetPath

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the maximum manifest file name length.(Inherited from GenerateManifestBase.)

System_CAPS_pubpropertyOSVersion

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the operating system (OS) version that is the minimum required by the application.

System_CAPS_pubpropertyOutputManifest

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the generated manifest.(Inherited from GenerateManifestBase.)

System_CAPS_pubpropertyPlatform

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the manifest platform.(Inherited from GenerateManifestBase.)

System_CAPS_pubpropertyProduct

This API supports the product infrastructure and is not intended to be used directly from your code. Specifies the ProductName property in the project file.

System_CAPS_pubpropertyPublisher

This API supports the product infrastructure and is not intended to be used directly from your code. Specifies the PublisherName property in the project file.

System_CAPS_pubpropertyRequiresMinimumFramework35SP1

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets whether the application requires the .NET Framework 3.5 SP1.

System_CAPS_pubpropertySuiteName

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the name of the folder on the Start menu where the application is located after ClickOnce deployment.

System_CAPS_pubpropertySupportUrl

This API supports the product infrastructure and is not intended to be used directly from your code. Specifies the SupportUrl property in the project file.

System_CAPS_pubpropertyTargetCulture

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the manifest target culture code.(Inherited from GenerateManifestBase.)

System_CAPS_pubpropertyTargetFrameworkMoniker

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the target framework moniker.(Inherited from GenerateManifestBase.)

System_CAPS_pubpropertyTargetFrameworkProfile

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the target framework profile.

System_CAPS_pubpropertyTargetFrameworkSubset

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets the name of the .NET Framework subset to target.

System_CAPS_pubpropertyTargetFrameworkVersion

This API supports the product infrastructure and is not intended to be used directly from your code. The target .NET Framework version for the project.(Inherited from GenerateManifestBase.)

System_CAPS_pubpropertyTrustInfoFile

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets an XML document that specifies the application security.

System_CAPS_pubpropertyUseApplicationTrust

This API supports the product infrastructure and is not intended to be used directly from your code. Specifies whether the Product, Publisher, and SupportUrl properties are written to the application manifest.

NameDescription
System_CAPS_protmethodAddAssemblyFromItem(ITaskItem)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds an assembly reference to the manifest, based on the specified item.(Inherited from GenerateManifestBase.)

System_CAPS_protmethodAddAssemblyNameFromItem(ITaskItem, AssemblyReferenceType)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds an assembly reference to the manifest, based on the specified item and the assembly reference type.(Inherited from GenerateManifestBase.)

System_CAPS_protmethodAddEntryPointFromItem(ITaskItem, AssemblyReferenceType)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds an entry point reference to the manifest, based on the specified item and the assembly reference type.(Inherited from GenerateManifestBase.)

System_CAPS_protmethodAddFileFromItem(ITaskItem)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a file reference to the manifest, based on the specified item.(Inherited from GenerateManifestBase.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodExecute()

This API supports the product infrastructure and is not intended to be used directly from your code. Executes the GenerateManifestBase task.(Inherited from GenerateManifestBase.)

System_CAPS_protmethodFindFileFromItem(ITaskItem)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns the manifest file reference that matches the specified item.(Inherited from GenerateManifestBase.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodValidateInputs()

This API supports the product infrastructure and is not intended to be used directly from your code. Validates the inputs of the GenerateManifestBase task.(Inherited from GenerateManifestBase.)

System_CAPS_protmethodValidateOutput()

This API supports the product infrastructure and is not intended to be used directly from your code. 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:

  1. Resolve the references in the assembly by using a call to ResolveAssemblyReference.

  2. Pass the output of the previous task and the assembly itself to ResolveManifestFiles.

  3. Pass the dependencies by using the Dependencies parameter to GenerateApplicationManifest.

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: