T4 Template Execution - Error (Microsoft.VisualStudio.Shell.Interop)

  • Thread starter Thread starter Cclover
  • Start date Start date
C

Cclover

Guest
I'm trying to execute a T4 Template using Run Custom Tool

This process returns an error that the file Microsoft.VisualStudio.Shell.Interop can't be found along a path to the Project root. If I get a copy via NuGet and install it, the error persists. If I take that file and copy it to the path in the error stack trace the error persists.

An exception was thrown while trying to compile the transformation code. The following Exception was thrown:System.IO.FileNotFoundException: Could not find file '<path to project root>\Microsoft.VisualStudio.Shell.Interop'.
A colleague runs the same tool without issues.

Continue reading...
 
Back
Top