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)

bool EnableFxCop { get; set; }

Property Value

Type: Boolean
true if Code Analysis is enabled; otherwise false.

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

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