Export (0) Print
Expand All

CompileWorkflowTask Class

Note: This API is now obsolete.

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

System.Object
  Microsoft.Build.Utilities.Task
    System.Workflow.ComponentModel.Compiler.CompileWorkflowTask

Namespace:  System.Workflow.ComponentModel.Compiler
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

[<Sealed>]
[<ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type CompileWorkflowTask =  
    class 
        inherit Task 
        interface ITask 
    end

The CompileWorkflowTask type exposes the following members.

  NameDescription
Public methodCompileWorkflowTaskInitializes a new instance of the CompileWorkflowTask class.
Top

  NameDescription
Public propertyAssemblyNameGets and sets the name of the assembly that is built during compilation.
Public propertyBuildEngineGets or sets the instance of the IBuildEngine object used by the task. (Inherited from Task.)
Public propertyBuildEngine2Gets the instance of the IBuildEngine2 object used by the task. (Inherited from Task.)
Public propertyBuildEngine3Gets the instance of the IBuildEngine3 object used by the task. (Inherited from Task.)
Public propertyBuildEngine4Gets the instance of the IBuildEngine4 object used by the task. (Inherited from Task.)
Public propertyBuildingProjectGets or sets a value that indicates whether this build task is currently building the workflow project.
Public propertyCompilationOptionsGets or sets the compilation options.
Public propertyDelaySignGets or sets a value that indicates whether the workflow assembly will be delay signed.
Public propertyHostObjectGets or sets the Object that is used to obtain services provided by the Visual Studio host when the compile workflow task is invoked.
Public propertyImportsGets or sets a string that contains all the imports directives for the compilation of the workflow.
Public propertyKeepTemporaryFilesGets a Boolean value that determines whether temporary files are to be kept.
Public propertyKeyContainerGets or sets the name of the public/private key container used for signing the workflow assembly.
Public propertyKeyFileGets or sets the path of the file that is used for signing the workflow assembly.
Public propertyLogGets an instance of a TaskLoggingHelper class containing task logging methods. (Inherited from Task.)
Public propertyOutputFilesGets an array of paths to output files from the workflow project being compiled.
Public propertyProjectDirectoryGets or sets a string that contains the path of the directory that contains the workflow project.
Public propertyProjectExtensionGets or sets a string that contains the file name extension for the workflow project.
Public propertyReferenceFilesGets or sets an array of paths to reference files for the workflow project being compiled.
Public propertyResourceFilesGets or sets an array of paths to resource files for the workflow project being compiled.
Public propertyRootNamespaceGets or sets the root namespace for the workflow project being compiled.
Public propertySourceCodeFilesGets or sets an array of paths to Visual Basic or C# files in the workflow project being compiled.
Public propertyTargetFrameworkGets or sets the target .NET Framework of the current project.
Public propertyTemporaryFilesGets an array of paths to temporary files created by the build task for the workflow project being compiled.
Public propertyWorkflowMarkupFilesGets or sets an array of paths to Workflow Markup Files for the workflow project being compiled.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodExecuteRuns the compilation of the workflow task. (Overrides Task.Execute().)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate propertyITask.HostObjectGets or sets the Host Object in the Microsoft Build framework.
Top

NoteNote

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.

.NET Framework

Supported in: 4, 3.5, 3.0
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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