Share via


ManagedCompiler.CodeAnalysisRuleSet Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the code analysis rule set.

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

Syntax

'Declaration
Public Property CodeAnalysisRuleSet As String
public string CodeAnalysisRuleSet { get; set; }
public:
property String^ CodeAnalysisRuleSet {
    String^ get ();
    void set (String^ value);
}
member CodeAnalysisRuleSet : string with get, set
function get CodeAnalysisRuleSet () : String 
function set CodeAnalysisRuleSet (value : String)

Property Value

Type: System.String
The code analysis rule set.

Remarks

Introduced in Visual Studio 2015.

.NET Framework Security

See Also

Reference

ManagedCompiler Class

Microsoft.Build.Tasks Namespace