I'm using a CodeSmith 4 project in my VSS Project, and I run the Generate step from the context menu and all goes well. However, my templates reference Enterprise Architect through COM, as I've written stuff to help me generate code with Codesmith/Enterprise Architect. When my generation process finishes, i.e. my Codesmith template execution has finished, I observe that EA.EXE is retained in memory. I think this tells me that the templates are still cached, and therefore I still have a reference to EA.EXE and I can't see a way to clean up afterwards.
Any suggestions? Is my assumption correct, that when the templates are used first time, they are effectively cached? I have a strong belief this is the case, and ideally I need to clean up so this EA.EXE instance is also cleaned up.
Many thanks, and well done to the Codesmith developer(s), I'm loving it!