How to use T4 with VS2015? (Microsoft.TextTemplating.targets file not found)
Asked Answered
R

1

13

I just tried to open one of my projects with Visual Studio 2015 the first time, and it says:

The importede project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TextTemplating\Microsoft.TextTemplating.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

The files do not exist on disk indeed. What kind of SDK do I have to install in order to use text templating with VS 2015?

Regale answered 29/11, 2015 at 11:18 Comment(2)
According to https://mcmap.net/q/906843/-t4-template-in-vs-2015 it should be in since CTP6 ...Regale
On another note: I have VS 2015 Enterprise Edition, so it should be no problem with insufficient features...Regale
R
14

I have found the answer myself. One has to install the "Modeling SDK for Visual Studio", available here.

Regale answered 29/11, 2015 at 12:37 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.