WebSiteProperties.EnableFxCop Property

 

Gets or sets whether to enable Code Analysis (FxCop) in the Web site project.

Namespace:   VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)

Syntax

bool EnableFxCop { get; set; }
property bool EnableFxCop {
    bool get();
    void set(bool value);
}
abstract EnableFxCop : bool with get, set
Property EnableFxCop As Boolean

Property Value

Type: System.Boolean

true if Code Analysis is enabled; otherwise false.

Remarks

For more information about Code Analysis, see the System.Diagnostics.CodeAnalysis namespace.

Examples

For an example of reading and setting late-bound properties, see WebSiteProperties.

See Also

System.Diagnostics.CodeAnalysis
EnvDTE
WebSiteProperties
VsWebSite Namespace
Code Analysis, Project Designer
Referencing Automation Assemblies and the DTE2 Object

Return to top