CompileWorkflowTask CompileWorkflowTask CompileWorkflowTask CompileWorkflowTask Class

Definition

Warning

This API is now obsolete.

Represents the MSBuild task of compiling a workflow. This class cannot be inherited.

public ref class CompileWorkflowTask sealed : Microsoft::Build::Utilities::Task, Microsoft::Build::Framework::ITask
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class CompileWorkflowTask : Microsoft.Build.Utilities.Task, Microsoft.Build.Framework.ITask
type CompileWorkflowTask = class
    inherit Task
    interface ITask
Public NotInheritable Class CompileWorkflowTask
Inherits Task
Implements ITask
Inheritance
CompileWorkflowTaskCompileWorkflowTaskCompileWorkflowTaskCompileWorkflowTask
Attributes
Implements

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

This class extends the Task class of Microsoft Build framework. Methods of this class are invoked by the Microsoft Build framework to customize the build process when compiling Windows Workflow Foundation types of C# and Visual Basic projects. It provides support for compiling .xoml files into intermediate code files (either C# or Visual Basic). Workflows are validated before compiling.

Constructors

CompileWorkflowTask() CompileWorkflowTask() CompileWorkflowTask() CompileWorkflowTask()

Initializes a new instance of the CompileWorkflowTask class.

Properties

AssemblyName AssemblyName AssemblyName AssemblyName

Gets or sets the name of the assembly that is built during compilation.

BuildEngine BuildEngine BuildEngine BuildEngine

Gets or sets the instance of the IBuildEngine object used by the task.

(Inherited from Task)
BuildEngine2 BuildEngine2 BuildEngine2 BuildEngine2

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

(Inherited from Task)
BuildEngine3 BuildEngine3 BuildEngine3 BuildEngine3

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

(Inherited from Task)
BuildEngine4 BuildEngine4 BuildEngine4 BuildEngine4

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

(Inherited from Task)
BuildingProject BuildingProject BuildingProject BuildingProject

Gets or sets a value that indicates whether this build task is currently building the workflow project.

CompilationOptions CompilationOptions CompilationOptions CompilationOptions

Gets or sets the compilation options.

DelaySign DelaySign DelaySign DelaySign

Gets or sets a value that indicates whether the workflow assembly will be delay signed.

HelpKeywordPrefix HelpKeywordPrefix HelpKeywordPrefix HelpKeywordPrefix

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

(Inherited from Task)
HostObject HostObject HostObject HostObject

Gets or sets the Object that is used to obtain services provided by the Visual Studio host when the compile workflow task is invoked.

Imports Imports Imports Imports

Gets or sets a string that contains all the imports directives for the compilation of the workflow.

KeepTemporaryFiles KeepTemporaryFiles KeepTemporaryFiles KeepTemporaryFiles

Gets a Boolean value that determines whether temporary files are to be kept.

KeyContainer KeyContainer KeyContainer KeyContainer

Gets or sets the name of the public/private key container used for signing the workflow assembly.

KeyFile KeyFile KeyFile KeyFile

Gets or sets the path of the file that is used for signing the workflow assembly.

Log Log Log Log

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

(Inherited from Task)
OutputFiles OutputFiles OutputFiles OutputFiles

Gets an array of paths to output files from the workflow project being compiled.

ProjectDirectory ProjectDirectory ProjectDirectory ProjectDirectory

Gets or sets a string that contains the path of the directory that contains the workflow project.

ProjectExtension ProjectExtension ProjectExtension ProjectExtension

Gets or sets a string that contains the file name extension for the workflow project.

ReferenceFiles ReferenceFiles ReferenceFiles ReferenceFiles

Gets or sets an array of paths to reference files for the workflow project being compiled.

ResourceFiles ResourceFiles ResourceFiles ResourceFiles

Gets or sets an array of paths to resource files for the workflow project being compiled.

RootNamespace RootNamespace RootNamespace RootNamespace

Gets or sets the root namespace for the workflow project being compiled.

SourceCodeFiles SourceCodeFiles SourceCodeFiles SourceCodeFiles

Gets or sets an array of paths to Visual Basic or C# files in the workflow project being compiled.

TargetFramework TargetFramework TargetFramework TargetFramework

Gets or sets the target .NET Framework of the current project.

TaskResources TaskResources TaskResources TaskResources

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

(Inherited from Task)
TemporaryFiles TemporaryFiles TemporaryFiles TemporaryFiles

Gets an array of paths to temporary files created by the build task for the workflow project being compiled.

WorkflowMarkupFiles WorkflowMarkupFiles WorkflowMarkupFiles WorkflowMarkupFiles

Gets or sets an array of paths to Workflow Markup Files for the workflow project being compiled.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
Execute() Execute() Execute() Execute()

Runs the compilation of the workflow task.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ITask.HostObject ITask.HostObject ITask.HostObject ITask.HostObject

Gets or sets the Host Object in the Microsoft Build framework.

Applies to