Note *1 There is a bug in VS2010 (not yet verified for VS2012) when trying to deploy a custom code generator via VSIX. During build, VS2010 will add an incorrect location path to the package. To fix this issue, an MSBuild task is used to fix the path during the build process. I added a new dependency for "MS Build Community Tasks", which supports the file search/replace functionality that I needed. I have included the urls for the download of this project in the "Main-VS2010" folder. Simply download and install the MSI to allow the project to build properly.