ResolveCodeAnalysisRuleSet Class

 

Determines which file, if any, should be used as the code analysis rule set based on the supplied code analysis properties.

Namespace:   Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

System::Object
  Microsoft.Build.Utilities::Task
    Microsoft.Build.Tasks::TaskExtension
      Microsoft.Build.Tasks::ResolveCodeAnalysisRuleSet

public ref class ResolveCodeAnalysisRuleSet sealed : TaskExtension

NameDescription
System_CAPS_pubmethodResolveCodeAnalysisRuleSet()

Initializes a new instance of ResolveCodeAnalysisRuleSet.

NameDescription
System_CAPS_pubpropertyBuildEngine

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

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine2

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

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine3

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

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from Task.)

System_CAPS_pubpropertyBuildEngine4

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

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from Task.)

System_CAPS_pubpropertyCodeAnalysisRuleSet

Gets or sets the desired code analysis rule set file. May be a simple name, relative path, or full path.

System_CAPS_pubpropertyCodeAnalysisRuleSetDirectories

Gets or sets the set of additional directories to search for code analysis rule set files.

System_CAPS_pubpropertyHostObject

Gets or sets the host object associated with the task.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from Task.)

System_CAPS_pubpropertyLog

This API supports the product infrastructure and is not intended to be used directly from your code. Gets an instance of a TaskLoggingHelperExtension containing task logging methods.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from TaskExtension.)

System_CAPS_pubpropertyMSBuildProjectDirectory

Gets or sets the location of the project currently being built.

System_CAPS_pubpropertyResolvedCodeAnalysisRuleSet

Gets or sets the location of the resolved rule set file.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodExecute()

Executes the task.(Overrides Task::Execute().)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Introduced in Visual Studio 2015.

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

Return to top
Show: