I am debugging a problem during the day and cannot understand it. Perhaps someone else came across something similar and could shed some light?
We configured all the T4 templates in the project in our solution for launching when the project is built, as in shift-ctrl-b. This works great - we needed to add this import statement to the .csproj project file:
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\TextTemplating\Microsoft.TextTemplating.targets"/>
We have established continuous integration through Visual Studio 2012 and cloud TFS (tfs.visualstudio.com). When our solution is built on a hosted TFS controller, we continue to receive the following error:
The imported project "C: \ Program Files \ MSBuild \ Microsoft \ VisualStudio \ v10.0 \ TextTemplating \ Microsoft.TextTemplating.targets" could not be found. Verify that the path in the declaration is correct and that the file exists on disk.
On our machines, a dev file exists, and therefore the problem is that the file does not exist on the hosted assembly server.
If we correct this assumption, is there a workaround to this problem besides installing our own TFS build server?
source share