Implemented interface member:
property
TaskEnvironment
Microsoft.Build.Framework.IMultiThreadableTask.TaskEnvironment
17 references to TaskEnvironment
Microsoft.DotNet.XliffTasks (17)
Tasks\EnsureAllResourcesTranslated.cs (1)
43
xlfDocument = XlfTask.LoadXlfDocument(
TaskEnvironment
.GetAbsolutePath(xlfPath));
Tasks\GatherTranslatedSource.cs (1)
115
dependentUpon =
TaskEnvironment
.GetAbsolutePath(Path.Combine(sourceDirectory, dependentUpon)).GetCanonicalForm();
Tasks\SortXlf.cs (1)
33
xlfAbsolutePath =
TaskEnvironment
.GetAbsolutePath(xlfPath);
Tasks\TransformTemplates.cs (9)
79
Directory.CreateDirectory(
TaskEnvironment
.GetAbsolutePath(localizedTemplateDirectory));
81
File.Copy(
TaskEnvironment
.GetAbsolutePath(templatePath),
TaskEnvironment
.GetAbsolutePath(cultureSpecificTemplateFile), overwrite: true);
87
File.Copy(
TaskEnvironment
.GetAbsolutePath(projectFileFullPath),
TaskEnvironment
.GetAbsolutePath(Path.Combine(localizedTemplateDirectory, Path.GetFileName(projectNode.Attribute("File").Value))), overwrite: true);
95
AbsolutePath templateItemDestinationAbsolutePath =
TaskEnvironment
.GetAbsolutePath(templateItemDestinationPath);
100
document.Load(new FileInfo(
TaskEnvironment
.GetAbsolutePath(templateItemFullPath)));
116
File.Copy(
TaskEnvironment
.GetAbsolutePath(Path.Combine(TranslatedOutputDirectory, localizedFileName)), templateItemDestinationAbsolutePath, overwrite: true);
121
File.Copy(
TaskEnvironment
.GetAbsolutePath(templateItemFullPath), templateItemDestinationAbsolutePath, overwrite: true);
Tasks\TranslateSource.cs (3)
24
AbsolutePath sourceAbsolutePath =
TaskEnvironment
.GetAbsolutePath(sourcePath);
25
AbsolutePath translatedAbsolutePath =
TaskEnvironment
.GetAbsolutePath(translatedFullPath);
27
XlfDocument xlfDocument = XlfTask.LoadXlfDocument(
TaskEnvironment
.GetAbsolutePath(XlfFile.ItemSpec));
Tasks\UpdateXlf.cs (2)
35
TranslatableDocument sourceDocument = XlfTask.LoadSourceDocument(
TaskEnvironment
.GetAbsolutePath(sourcePath), sourceFormat);
41
AbsolutePath absoluteXlfPath =
TaskEnvironment
.GetAbsolutePath(xlfPath);