GenerateManifestBase Class

Definition

Represents the base class for all manifest generation tasks.

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

public ref class GenerateManifestBase abstract : Microsoft::Build::Utilities::Task
public abstract class GenerateManifestBase : Microsoft.Build.Utilities.Task
type GenerateManifestBase = class
    inherit Task
Public MustInherit Class GenerateManifestBase
Inherits Task
Inheritance
GenerateManifestBase
Derived

Constructors

GenerateManifestBase()

Initializes a new instance of the GenerateManifestBase class.

Properties

AssemblyName

Gets or sets the name of the assembly.

AssemblyVersion

Gets or sets the assembly version.

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

Gets the instance of the IBuildEngine4 object used by the task.

(Inherited from Task)
Description

Gets or sets the manifest description text.

EntryPoint

Gets or sets the managed assembly or ClickOnce manifest reference that is the entry point to the manifest.

HelpKeywordPrefix

Gets or sets the prefix used to compose Help keywords from resource names.

(Inherited from Task)
HostObject

Gets or sets the host object associated with the task.

(Inherited from Task)
InputManifest

Gets or sets the input manifest.

Log

Gets an instance of a TaskLoggingHelper class containing task logging methods.

(Inherited from Task)
MaxTargetPath

Gets or sets the maximum manifest file name length.

OutputManifest

Gets or sets the generated manifest.

Platform

Gets or sets the manifest platform.

TargetCulture

Gets or sets the manifest target culture code.

TargetFrameworkMoniker

Gets or sets the target framework moniker.

TargetFrameworkVersion

The target .NET Framework version for the project.

TaskResources

Gets or sets the culture-specific resources associated with the task.

(Inherited from Task)

Methods

AddAssemblyFromItem(ITaskItem)

Adds an assembly reference to the manifest, based on the specified item.

AddAssemblyNameFromItem(ITaskItem, AssemblyReferenceType)

Adds an assembly reference to the manifest, based on the specified item and the assembly reference type.

AddEntryPointFromItem(ITaskItem, AssemblyReferenceType)

Adds an entry point reference to the manifest, based on the specified item and the assembly reference type.

AddFileFromItem(ITaskItem)

Adds a file reference to the manifest, based on the specified item.

CompareFrameworkVersions(String, String)

Compares two .NET Framework versions and determines which version comes before the other one.

ConvertFrameworkVersionToString(String)

Converts the given .NET Framework version to a string.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Execute()

Executes the GenerateManifestBase task.

FindFileFromItem(ITaskItem)

Returns the manifest file reference that matches the specified item.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetObjectType()

When implemented in a derived class, returns the type of the manifest.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnManifestLoaded(Manifest)

When implemented in a derived class, sets manifest properties and any dependencies.

OnManifestResolved(Manifest)

When implemented in a derived class, sets resolved manifest properties.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
ValidateInputs()

Validates the inputs of the GenerateManifestBase task.

ValidateOutput()

Validates the generated manifest.

Applies to