CodeSmith and MSBild


Summary: Using CodeSmith to generate code as part of the build process

All I can find on using CodeSmith from withing MSBuild is the sample below

<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
		  <!-- Add at bottom of Project File -->
		  <Import Project="$(MSBuildExtensionsPath)\CodeSmith\CodeSmith.Targets"/>
		  <Target Name="BeforeBuild">
		    [<CodeSmith] PropertySetFile="Exceptions.xml" />
		  </Target>
	
</Project>

I would love to see some more samples of this.