Adds any "codeFirst" templates added or uploaded without using the Umbraco backend to be added to the Tree when "Reload Nodes" is performed. e.g. if added using Visual Studio.
Works in MVC and Webforms modes.
Takes into account nested Views and parent templates.
Takes into account the 'umb' prefix in V7.
Known issue: - doesn't work if there are no templates - the BaseTree_BeforeNodeRender event in umbraco doesn't fire in this case.
V1.0.1 - Fixed bug where code was tried to run at appstartup which caused YSOD (no current backend user )