Summary
CleanupCodeTasks
.
- Assembly
- Rocket
.Surgery .Nuke .dll - Namespace
- Temp
.CleanupCode - Base Types
-
- ToolSettings
Syntax
public class CleanupCodeSettings : ToolSettings
Attributes
Type | Description |
---|---|
PublicAPIAttribute | |
Exclude |
Constructors
Name | Summary |
---|---|
CleanupCodeSettings |
Properties
Name | Value | Summary |
---|---|---|
CachesHome | string |
Lets you specify a custom location for the data that CleanupCode caches. By default, the %LOCALAPPDATA% directory is used, unless there are settings files, in which case the one specified there is used. This parameter can be helpful if you want to use a fast SSD disk for the cache or if you want to store all your build processing data in a single place.
|
CustomLogger | Action |
|
Disable |
IReadOnlyList |
Disables specified settings layers. Accepted values:
GlobalAll , GlobalPerProduct , SolutionShared , SolutionPersonal .
|
DotNetPath | string |
.NET Core path. Empty to ignore .NET Core. Not specified for autodetect. Example:
--dotnetcore=/usr/local/share/dotnet/dotnet.
|
Exclude | IReadOnlyList |
relative path(s) that define the files to exclude during the cleanup.
|
Extensions | IReadOnlyList |
Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon.
|
Include | IReadOnlyList |
relative path(s) that define the files to include during the cleanup.
|
MonoPath | string |
Mono path. Empty to ignore Mono. Not specified for autodetect. Example:
--mono=/Library/Frameworks/Mono.framework/Versions/Current/bin/mono.
|
NoBuiltinSettings | Nullable |
Suppresses global, solution and project settings profile usage. Equivalent to using
--disable-settings-layers: GlobalAll; GlobalPerProduct; SolutionShared; SolutionPersonal; ProjectShared; ProjectPersonal
|
Profile | string |
Specifies an additional .DotSettings file used for inspection settings.
|
Project | string |
Allows analyzing particular project(s) instead of the whole solution. After this parameter, you can type a project name or a wildcard that matches several projects within your solution. For example,
--project=*Billing
|
Properties | IReadOnlyDictionary |
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.
|
TargetPath | string |
Target path.
|
ToolPath | string |
Path to the CleanupCode executable.
|
Toolset | Cleanup |
Explicitly specified MsBuild Toolset version (12.0, 14.0, 15.0). For example,
--toolset=12.0 .
|
Methods
Name | Value | Summary |
---|---|---|
ConfigureArguments |
Arguments |
Extension Methods
Name | Value | Summary |
---|---|---|
Add |
CleanupCodeSettings |
Adds values to Disables specified settings layers. Accepted values: |
Add |
CleanupCodeSettings |
Adds values to Disables specified settings layers. Accepted values: |
AddExclude |
CleanupCodeSettings |
Adds values to relative path(s) that define the files to exclude during the cleanup. |
AddExclude |
CleanupCodeSettings |
Adds values to relative path(s) that define the files to exclude during the cleanup. |
AddExtensions |
CleanupCodeSettings |
Adds values to Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon. |
AddExtensions |
CleanupCodeSettings |
Adds values to Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon. |
AddInclude |
CleanupCodeSettings |
Adds values to relative path(s) that define the files to include during the cleanup. |
AddInclude |
CleanupCodeSettings |
Adds values to relative path(s) that define the files to include during the cleanup. |
AddProperty |
CleanupCodeSettings |
Adds a new key-value-pair 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. |
Clear |
CleanupCodeSettings |
Clears Disables specified settings layers. Accepted values: |
ClearExclude |
CleanupCodeSettings |
Clears relative path(s) that define the files to exclude during the cleanup. |
ClearExtensions |
CleanupCodeSettings |
Clears Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon. |
ClearInclude |
CleanupCodeSettings |
Clears relative path(s) that define the files to include during the cleanup. |
ClearProperties |
CleanupCodeSettings |
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. |
Disable |
CleanupCodeSettings |
Disables Suppresses global, solution and project settings profile usage. Equivalent to using |
Enable |
CleanupCodeSettings |
Enables Suppresses global, solution and project settings profile usage. Equivalent to using |
Remove |
CleanupCodeSettings |
Removes values from Disables specified settings layers. Accepted values: |
Remove |
CleanupCodeSettings |
Removes values from Disables specified settings layers. Accepted values: |
RemoveExclude |
CleanupCodeSettings |
Removes values from relative path(s) that define the files to exclude during the cleanup. |
RemoveExclude |
CleanupCodeSettings |
Removes values from relative path(s) that define the files to exclude during the cleanup. |
RemoveExtensions |
CleanupCodeSettings |
Removes values from Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon. |
RemoveExtensions |
CleanupCodeSettings |
Removes values from Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon. |
RemoveInclude |
CleanupCodeSettings |
Removes values from relative path(s) that define the files to include during the cleanup. |
RemoveInclude |
CleanupCodeSettings |
Removes values from relative path(s) that define the files to include during the cleanup. |
RemoveProperty |
CleanupCodeSettings |
Removes a key-value-pair from 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. |
ResetCachesHome |
CleanupCodeSettings |
Resets Lets you specify a custom location for the data that CleanupCode caches. By default, the %LOCALAPPDATA% directory is used, unless there are settings files, in which case the one specified there is used. This parameter can be helpful if you want to use a fast SSD disk for the cache or if you want to store all your build processing data in a single place. |
ResetDotNetPath |
CleanupCodeSettings |
Resets .NET Core path. Empty to ignore .NET Core. Not specified for autodetect. Example: |
ResetMonoPath |
CleanupCodeSettings |
Resets Mono path. Empty to ignore Mono. Not specified for autodetect. Example: |
Reset |
CleanupCodeSettings |
Resets Suppresses global, solution and project settings profile usage. Equivalent to using |
ResetProfile |
CleanupCodeSettings |
Resets Specifies an additional .DotSettings file used for inspection settings. |
ResetProject |
CleanupCodeSettings |
Resets Allows analyzing particular project(s) instead of the whole solution. After this parameter, you can type a project name or a wildcard that matches several projects within your solution. For example, |
ResetTargetPath |
CleanupCodeSettings |
Resets Target path. |
ResetToolset |
CleanupCodeSettings |
Resets Explicitly specified MsBuild Toolset version (12.0, 14.0, 15.0). For example, |
SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
SetCachesHome |
CleanupCodeSettings |
Sets Lets you specify a custom location for the data that CleanupCode caches. By default, the %LOCALAPPDATA% directory is used, unless there are settings files, in which case the one specified there is used. This parameter can be helpful if you want to use a fast SSD disk for the cache or if you want to store all your build processing data in a single place. |
Set |
CleanupCodeSettings |
Sets Disables specified settings layers. Accepted values: |
Set |
CleanupCodeSettings |
Sets Disables specified settings layers. Accepted values: |
SetDotNetPath |
CleanupCodeSettings |
Sets .NET Core path. Empty to ignore .NET Core. Not specified for autodetect. Example: |
SetExclude |
CleanupCodeSettings |
Sets relative path(s) that define the files to exclude during the cleanup. |
SetExclude |
CleanupCodeSettings |
Sets relative path(s) that define the files to exclude during the cleanup. |
SetExtensions |
CleanupCodeSettings |
Sets Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon. |
SetExtensions |
CleanupCodeSettings |
Sets Allows using ReSharper extensions that affect code analysis. To use an extension, specify its ID, which you can find by opening the extension package page in the ReSharper Gallery, and then the Package Statistics page. Multiple values are separated with the semicolon. |
SetInclude |
CleanupCodeSettings |
Sets relative path(s) that define the files to include during the cleanup. |
SetInclude |
CleanupCodeSettings |
Sets relative path(s) that define the files to include during the cleanup. |
SetMonoPath |
CleanupCodeSettings |
Sets Mono path. Empty to ignore Mono. Not specified for autodetect. Example: |
SetNoBuiltinSettings |
CleanupCodeSettings |
Sets Suppresses global, solution and project settings profile usage. Equivalent to using |
SetProfile |
CleanupCodeSettings |
Sets Specifies an additional .DotSettings file used for inspection settings. |
SetProject |
CleanupCodeSettings |
Sets Allows analyzing particular project(s) instead of the whole solution. After this parameter, you can type a project name or a wildcard that matches several projects within your solution. For example, |
SetProperties |
CleanupCodeSettings |
Sets 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. |
SetProperty |
CleanupCodeSettings |
Sets a key-value-pair in 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. |
SetTargetPath |
CleanupCodeSettings |
Sets Target path. |
SetToolset |
CleanupCodeSettings |
Sets Explicitly specified MsBuild Toolset version (12.0, 14.0, 15.0). For example, |
Toggle |
CleanupCodeSettings |
Toggles Suppresses global, solution and project settings profile usage. Equivalent to using |
With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|