3 writes to TemplateFile
Microsoft.DotNet.Build.Tasks.Templating.Tests (3)
GenerateFileFromTemplateTests.cs (3)
22task.TemplateFile = GetFullPath("Directory.Build.props.in"); 50task.TemplateFile = GetFullPath("Directory.Build.props.in"); 75task.TemplateFile = GetFullPath(filename);
6 references to TemplateFile
Microsoft.DotNet.Build.Tasks.Templating (6)
GenerateFileFromTemplate.cs (6)
17/// The <see cref="TemplateFile"/> can define variables for substitution using <see cref="Properties"/>. 61if (!File.Exists(TemplateFile)) 63Log.LogError($"File {TemplateFile} does not exist"); 68string template = File.ReadAllText(TemplateFile); 129Log.LogWarning(null, null, null, TemplateFile, 141Log.LogWarning(null, null, null, TemplateFile,