CompileTask Class |
Task that compiles a module into MSIL
or into binary form.
System.Object
System.MarshalByRefObject
PostSharp.Sdk.Extensibility.Task
PostSharp.Sdk.Extensibility.Tasks.CompileTask
System.MarshalByRefObject
PostSharp.Sdk.Extensibility.Task
PostSharp.Sdk.Extensibility.Tasks.CompileTask
Namespace: PostSharp.Sdk.Extensibility.Tasks
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class CompileTask : Task
The CompileTask type exposes the following members.
Name | Description | |
---|---|---|
CompileTask | Initializes a new instance of the CompileTask class |
Name | Description | |
---|---|---|
CleanIntermediate |
Determines whether the intermediate directory should
be cleaned after compilation.
| |
CopyrightNotice |
Gets the line of text that's printed on standard output next to the name of this task during build.
For example, if this were "By PostSharp Technologies", the entire line might be "MyTask: By PostSharp Technologies".
(Inherited from Task.) | |
DebuggerExtensionsDisabled | ||
DelaySign | true if the assembly should be delayed-signed, false if it should
be normally signed (if SignAssembly is true).
| |
Deterministic | ||
EmitDebuggingInfo | ||
Encoding |
Gets or sets the encoding of the intermediate MSIL file.
It needs to be supported by ILASM.
| |
ForbidSignAssembly |
If true, the assembly will not be signed. This property
overwrites the SignAssembly property and the
custom attributes AssemblyKeyFileAttribute
and AssemblyKeyNameAttribute.
| |
IntermediateDirectory |
Gets or sets the intermediate directory
(where IL and resource files will be written).
| |
IsInitialized | (Inherited from Task.) | |
OptimizationMode |
Optimization mode of the compiler.
| |
PrivateKeyContainer |
Name of the container of the private key.
| |
PrivateKeyLocation |
If SignAssembly is true, full path of the key
file that should be used to sign the assembly. If the key should not
be taken from a file, but from a key repository, this property
should start with an '@' sign.
| |
SignAssembly |
Determines whether the assembly should be signed using a digital key.
If set to Default, the task will look
for the custom attributes AssemblyKeyFileAttribute
and AssemblyKeyNameAttribute.
| |
TargetFile |
Gets or sets the target location of the binary module.
|
Name | Description | |
---|---|---|
Deserialize |
Deserializes the current task from an XML element.
(Inherited from Task.) | |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from Task.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Execute |
Execute the current Task.
(Overrides Task.Execute().) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
IsRequired |
Determines whether the current task is required by another task in the project.
(Inherited from Task.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |