When generating resources, it intends to add the .resources file to the ...

...FilesWritten list. However, it sets the ItemSpec on the wrong item, and a 'Clean' ends up deleting the .resx file.