Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

GenerateApplicationManifest Class

This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Implements the GenerateApplicationManifest task. Use the GenerateApplicationManifest element in your project file to create and execute this task. For usage and parameter information, see GenerateApplicationManifest Task.

Namespace: Microsoft.Build.Tasks
Assembly: Microsoft.Build.Tasks (in microsoft.build.tasks.dll)

public sealed class GenerateApplicationManifest : GenerateManifestBase
public final class GenerateApplicationManifest extends GenerateManifestBase
public final class GenerateApplicationManifest extends GenerateManifestBase
Not applicable.

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 required an EntryPoint when generating an application manifest (assembly or native manifests do not require an EntryPoint). This requirement was enforced with the build error: "MSB3185: EntryPoint not specified for manifest."

In Visual Studio Code Name "Orcas", MSBuild will not issue this error when the EntryPoint task parameter is not specified. Instead, the <customHostSpecified> tag will be inserted as a child of the <entryPoint> tag, for example:

<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 assembly's references with a call to ResolveAssemblyReference.

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

Pass the dependencies via the Dependencies parameter to GenerateApplicationManifest.

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

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2015 Microsoft