It would therefore be great if one or both of the following were done:
1. Provide a build option that overrides the solution / project settings for static code analysis and only executes static code analysis rules against files within the solution / project that are currently checked out from source control.
2. Provide a "smart" build option that uses something like test impact analysis to determine which files the static code analysis rules should be executed against.
While these additional build options should be also provided, the current behavior should be maintained for the default builds.