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.
Assembly: Microsoft.Build.Tasks (in Microsoft.Build.Tasks.dll)
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.
Microsoft.Build.Utilities.Task
Microsoft.Build.Tasks.GenerateManifestBase
Microsoft.Build.Tasks.GenerateApplicationManifest
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.