I've having some difficulty compiling T4 Toolbox because the IDE can't seem to find Microsoft.Build.Engine.
I'm using VS 2010 Professional with TFS, but since I'm not a committer I just grabbed the source with TortoiseSVN.
When I load up the solution the Installer project's references for WixUtilExtension and WixVSExtension are flagged as missing. I remove those and add them from C:\Program Files (x86)\Windows Installer XML v 2.5\bin. All good.
In the T4Toolbox project the following references have the exclamation mark:
I remove the last three and add them from the GAC. Then I remove Microsoft.VisualStudio.ExtensibilityHosting or Microsoft.VisualStudio.ExtensionManager and add them from the VS 2010 PrivateAssemblies directory.
Now I'm down to just Microsoft.Build.Engine, which still has that dang exclamation mark. I remove it and add it back from the GAC (version 184.108.40.206, runtime v4.0.21006). But I still get the ! and I can't compile; I get an error on line 21 in DteProcessor.cs:
using MSBuild = Microsoft.Build.BuildEngine;
Error 103 The type or namespace name 'Build' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) D:\dev\CS2010\T4Toolkit-svn\Source\DteProcessor.cs 21
Can anyone tell me what I'm missing here?