Projects containing XAML files automatically generate code files on build. Currently these are being analysed. They should be automatically excluded.
The generated files are named .g.cs/.g.vb and are contained in the obj[debug|release] directory.
Agreed fix: any files in the obj[configuration] folder should be excluded from analysis, regardless of the file extension.
This does not need to be user-configurable i.e. it can be done in the targets file.