How can I have Fxcop run by TeamCity limit itself to looking at fewer rules?
I don't want to use a .fxcop project as that means I would need to curate which .dlls are used in analysis rather than a wildcard in the teamcity build step.
You have three basic options is you really want to disable some rules entirely:
If you don't want to risk introducing new violations of these rules (which have apparently been broken so frequently in the past), you may want to consider suppressing the old violations instead of disabling the rules entirely. If so, one approach would be to add the suppressions to an .fxcop project file (used as in #3 above) with a note that indicates that they are "backlog" or "legacy" violations. This can be done in a single step from the FxCop UI and would allow you to keep these suppressions separarate from the "real" suppressions indicated via SuppressMessage attributes in your source code.