CleanupCodeSettingsExtensions.

ClearProperties(CleanupCodeSettings) Method

Summary

Clears

Lets you override MSBuild properties. The specified properties are applied to all analyzed projects. Currently, there is no direct way to set a property to a specific project only. The workaround is to create a custom property in this project and assign it to the desired property, then use the custom property in dupFinder parameters.

Syntax

public static CleanupCodeSettings ClearProperties(this CleanupCodeSettings toolSettings)

Attributes

Type Description
PureAttribute

Parameters

Name Type Description
toolSettings CleanupCodeSettings

Return Value

Type Description
CleanupCodeSettings