Summary
Defines a
ITask
that invokes FxCop on a given set of assemblies.
- Namespace
- NBuildKit
.MsBuild .Tasks .Validation - Base Types
graph TD
Base0["FxCopCommandLineToolTask"]-->Type
click Base0 "/nBuildKit.MsBuild/api/NBuildKit.MsBuild.Tasks.Core/FxCopCommandLineToolTask"
Base1["CommandLineToolTask"]-->Base0
click Base1 "/nBuildKit.MsBuild/api/NBuildKit.MsBuild.Tasks.Core/CommandLineToolTask"
Base2["BaseTask"]-->Base1
click Base2 "/nBuildKit.MsBuild/api/NBuildKit.MsBuild.Tasks.Core/BaseTask"
Base3["Task"]-->Base2
Type["FxCopViaAssemblies"]
class Type type-node
Syntax
public sealed class FxCopViaAssemblies : FxCopCommandLineToolTask
Constructors
Name | Summary |
---|---|
FxCopViaAssemblies |
Initializes a new instance of the FxCopViaAssemblies class.
|
FxCopViaAssemblies |
Initializes a new instance of the FxCopViaAssemblies class.
|
Properties
Name | Value | Summary |
---|---|---|
Assemblies | ITaskItem[] |
Gets or sets the collection of assemblies that should be scanned.
|
Culture | string |
Gets or sets the culture that should be used during the FxCop analysis.
|
DefaultDataHandler | Data |
Gets the event handler that processes data from the data stream, or standard output stream, of
the command line application.By default logs a message for each output.
Inherited from CommandLineToolTask
|
DefaultErrorHandler | Data |
Gets the event handler that processes data from the data stream, or standard output stream, of
the command line application.By default logs a message for each output.
Inherited from CommandLineToolTask
|
Dictionary | ITaskItem |
Gets or sets the full path to the dictionary file that contains spelling corrections.
|
ErrorInformation | ITaskItem[] |
Gets or sets the collection containing the error codes for the task.
Inherited from BaseTask
|
FxCopDirectory | ITaskItem |
Gets or sets the full path to the directory that contains the 'FxCopCmd' executable.
Inherited from Fx
|
Log |
bool |
Gets or sets a value indicating whether the environment variables for the process should be logged.
Inherited from CommandLineToolTask
|
OutputFile | ITaskItem |
Gets or sets the full path to the FxCop log file.
Inherited from Fx
|
ReferenceDirectories | ITaskItem[] |
Gets or sets the collection of reference directories from which FxCop can load additional assemblies.
|
ReferenceFiles | ITaskItem[] |
Gets or sets the collection of reference files which FxCop can load if additional referenced assemblies are required.
|
RuleSetDirectory | ITaskItem |
Gets or sets the full path to the directory that contains the FxCop rule sets.
|
WarningsAsErrors | bool |
Gets or sets a value indicating whether warnings should be treated as errors.
Inherited from Fx
|
Methods
Name | Value | Summary |
---|---|---|
ErrorCodeById |
string |
Returns the error code for the given ID.
Inherited from BaseTask
|
Execute |
bool | |
GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
GetFullToolPath |
string |
Returns the most complete path for the given executable tool. May return just the name of the tool if the tool path is found via the
PATH environment variable.
Inherited from CommandLineToolTask
|
GetFullToolPath |
string |
Returns the most complete path for the given executable tool. May return just the name of the tool if the tool path is found via the
PATH environment variable.
Inherited from CommandLineToolTask
|
Invoke |
int |
Invokes the command line tool at the given path with the given arguments.
Inherited from CommandLineToolTask
|
Invoke |
int |
Invokes the command line tool at the given path with the given arguments.
Inherited from CommandLineToolTask
|
InvokeFxCop |
void |
Invokes the FxCop commandline application with the provided arguments.
Inherited from Fx
|
Update |
void |
Updates the environment variables for the application prior to execution.
Inherited from CommandLineToolTask
|
Verbosity |
string |
Gets the verbosity that the current MsBuild instance is running at.
Inherited from BaseTask
static
|