Skip to content

Commit 5857bd7

Browse files
Update t4-template-directive.md
-Fixed "Compiling transformation" exception in snippet caused by missing import
1 parent 6eedfee commit 5857bd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/modeling/t4-template-directive.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ hostspecific="true"
8282
<#@ assembly name="EnvDTE" #>
8383
<#@ import namespace="EnvDTE" #>
8484
<#@ import namespace="System.IO" #>
85+
<#@ import namespace="Microsoft.VisualStudio.TextTemplating" #>
8586
<# // Get the Visual Studio API as a service:
8687
DTE dte = ((IServiceProvider)this.Host).GetCOMService(typeof(DTE)) as DTE;
8788
#>

0 commit comments

Comments
 (0)