CSharpProjectConfigurationProperties5.CodeAnalysisFailOnMissingRules Property

Definition

Gets or sets a flag indicating whether the code analysis fails whenever any rule or rule set is missing.

public:
 property bool CodeAnalysisFailOnMissingRules { bool get(); void set(bool value); };
public:
 property bool CodeAnalysisFailOnMissingRules { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(15217)]
public bool CodeAnalysisFailOnMissingRules { [System.Runtime.InteropServices.DispId(15217)] get; [System.Runtime.InteropServices.DispId(15217)] set; }
[<System.Runtime.InteropServices.DispId(15217)>]
[<get: System.Runtime.InteropServices.DispId(15217)>]
[<set: System.Runtime.InteropServices.DispId(15217)>]
member this.CodeAnalysisFailOnMissingRules : bool with get, set
Public Property CodeAnalysisFailOnMissingRules As Boolean

Property Value

Returns a flag indicating behavior of code analysis. Returns true if analysis fails whenever any rule or rule set is missing; otherwise, returns false.

Attributes

Remarks

External components can access these properties through the Properties collection for the appropriate Visual Studio automation object. (That is, ProjectItem for project files and folders, Project for projects, and Configuration for configurations). The property names for the members of this type can be used as an indexer into the Properties collection. For more information about accessing project properties through automation, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.

Applies to