TemplateActivity.ProcessTemplate Method (String)

 

Process a T4 template using Visual Studio's text templating service, given a path that could contain macros (i.e. "$(DevEnvDir)\..."). NOTE: Template paths that are not files or are UNC paths are not allowed

Namespace:   Microsoft.Data.Entity.Design.VisualStudio.TextTemplating
Assembly:  Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)

protected string ProcessTemplate(
	string templatePath
)

Parameters

templatePath
Type: System.String

Template's file path which may contain project-based macros

Return Value

Type: System.String

The output of processing the template.