This topic has not yet been rated - Rate this topic

GenerateTemporaryAssemblyTask Class

An MS Build task that generates a temporary assembly by compiling the source files generated by the PartialClassGenerationTask.

System.Object
  Microsoft.Build.Utilities.Task
    Microsoft.Build.Tasks.Xaml.GenerateTemporaryAssemblyTask

Namespace:  Microsoft.Build.Tasks.Xaml
Assembly:  XamlBuildTask (in XamlBuildTask.dll)
public class GenerateTemporaryAssemblyTask : Task

The GenerateTemporaryAssemblyTask type exposes the following members.

  Name Description
Public method GenerateTemporaryAssemblyTask Initializes a new instance of the GenerateTemporaryAssemblyTask class.
Top
  Name Description
Public property ApplicationMarkupTypeName Gets or sets the build action for the application markup files which are excluded from the project used to generate the temporary assembly.
Public property AssemblyName Gets or sets the generated assembly’s name.
Public property BuildEngine Gets or sets the instance of the IBuildEngine object used by the task. (Inherited from Task.)
Public property BuildEngine2 Gets the instance of the IBuildEngine2 object used by the task. (Inherited from Task.)
Public property BuildEngine3 Gets the instance of the IBuildEngine3 object used by the task. (Inherited from Task.)
Public property CompileTargetName Gets or sets the compilation target name to build in the generated project file used to build the generated temporary assembly.
Public property CurrentProject Gets or sets the current project file name.
Protected property HelpKeywordPrefix Gets or sets the prefix used to compose Help keywords from resource names. (Inherited from Task.)
Public property HostObject Gets or sets the host object associated with the task. (Inherited from Task.)
Public property Log Gets an instance of a TaskLoggingHelper class containing task logging methods. (Inherited from Task.)
Public property OutputPath Gets or sets the directory to place the generated files in.
Public property ReferencePaths Gets or sets the paths to any referenced assemblies specified in the project.
Public property SourceCodeFiles Gets or sets a list of source code files to compile into a temporary assembly.
Protected property TaskResources Gets or sets the culture-specific resources associated with the task. (Inherited from Task.)
Top
  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Execute Called by MS Build to execute the task. (Overrides Task.Execute().)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Any XAML files generated by the PartialClassGenerationTask are added to the temporary assembly as resources.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ