If you want to run ReSharper duplicates using a specific ReSharper version (e.g. to ensure it matches the version you have installed in Visual Studio), since TeamCity 10.0 you can install another version of the tools and can change the default version to be used using the Administration | Tools page.
Use newline-delimited Ant-like wildcards relative to the checkout root to specify the files to be included into the duplicates search.
Enter newline-delimited Ant-like wildcards to exclude files from the duplicates search (for example,
Duplicate Searcher Settings
Code fragments comparison
If this option is checked, similar contents with different namespace specifications will be recognized as duplicates.
If this option is checked, similar lines of code with different literals will be recognized as duplicates.
Discard local variables
If this option is checked, similar code fragments with different local variable names will be recognized as duplicates.
Discard class fields name
If this option is checked, the similar code fragments with different field names will be recognized as duplicates.
If this option is checked, similar content with different type names will be recognized as duplicates. These include all possible type references (as shown below):
Ignore duplicates with complexity lower than
Use this field to specify the lowest level of complexity of code blocks to be taken into consideration when detecting duplicates.
Skip files by opening comment
Enter newline-delimited keywords to exclude files that contain the keyword in the file's opening comments from the duplicates search.
Skip regions by message substring
Enter newline-delimited keywords that exclude regions that contain the keyword in the message substring from the duplicates search. Entering "generated code", for example, will skip regions containing "Windows Form Designer generated code".
Enable debug output