There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
SingleFileGenerator doesen't truncate the generated file in Iso-Shell
The Method UpdateGeneratedCodeFile in the class SingleFileGenerator has two bugs:
1) If it is running in the Iso-Shell the generated file isn't truncated if it is shorter than befor. You can fix this by changing the line (around line 291)
using (FileStream generatedFileStream = File.Open(filePath, FileMode.OpenOrCreate))
using (FileStream generatedFileStream = File.Open(filePath, FileMode.Create))
2) If the generated file is open in visual studio it is not generated. I'll fix it by generating always. To do this I'll comment out the lines from 'if(docData != IntPtr.Zero)' until the 'else' block.