Closed GoogleCodeExporter closed 9 years ago
Currently I see a solution to this: delete the .tt generation file after use
(maybe
extension change will also work).
I see positive use for this behavior if I change entity name... so this is
probably
not bad. But I would like to know if it's a correct behavior.
Original comment by Sergey.P...@gmail.com
on 5 Jun 2009 at 3:36
I've added the following code to ScaffoldingGenerator.tt and am invoking it at
the
beginning of its constructor:
public void DeleteT4OutputLog() {
ProjectItem t4ToolboxOuputLog =
TransformationContext.FindProjectItem("ScaffoldingGeneratorCommand.tt.log");
if (t4ToolboxOuputLog != null) {
t4ToolboxOuputLog.Remove();
t4ToolboxOuputLog.Delete();
}
}
This will be included in the next check in (which should be 1.0 RTM).
Original comment by wmccaffe...@gmail.com
on 15 Jul 2009 at 4:42
Original issue reported on code.google.com by
Sergey.P...@gmail.com
on 5 Jun 2009 at 3:16