1 write to ToolsPath
Microsoft.Build (1)
Definition\Toolset.cs (1)
279
this.
ToolsPath
= toolsPath;
25 references to ToolsPath
Microsoft.Build (6)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
882
_projectInstance.TaskRegistry.Toolset.
ToolsPath
);
Definition\Toolset.cs (3)
879
string[] defaultTasksFiles = GetTaskFiles(_getFiles, loggingContext, DefaultTasksFilePattern,
ToolsPath
, "DefaultTasksFileLoadFailureWarning");
904
reservedProperties.Add(ProjectPropertyInstance.Create(ReservedPropertyNames.binPath, EscapingUtilities.Escape(
ToolsPath
), mayBeReserved: true));
907
reservedProperties.Add(ProjectPropertyInstance.Create(ReservedPropertyNames.toolsPath, EscapingUtilities.Escape(
ToolsPath
), mayBeReserved: true));
Evaluation\Evaluator.cs (2)
1131
SetBuiltInProperty(ReservedPropertyNames.toolsPath, _data.Toolset.
ToolsPath
);
1132
SetBuiltInProperty(ReservedPropertyNames.binPath, _data.Toolset.
ToolsPath
);
Microsoft.Build.Engine.OM.UnitTests (1)
Construction\ProjectRootElement_Tests.cs (1)
528
string toolsPath = projectCollection.Toolsets.Where(toolset => (string.Equals(toolset.ToolsVersion, ObjectModelHelpers.MSBuildDefaultToolsVersion, StringComparison.OrdinalIgnoreCase))).First().
ToolsPath
;
Microsoft.Build.Engine.UnitTests (15)
Definition\Toolset_Tests.cs (11)
86
Assert.Equal(expectedPath, t.
ToolsPath
);
118
Assert.Equal(t.
ToolsPath
, t2.
ToolsPath
);
201
Toolset t = new Toolset("Fake", parentToolset.
ToolsPath
, null, projectCollection, null, parentToolset.OverrideTasksPath);
235
Toolset t = new Toolset("Fake", parentToolset.
ToolsPath
, null, projectCollection, null, parentToolset.OverrideTasksPath);
269
Toolset t = new Toolset("Fake", parentToolset.
ToolsPath
, null, projectCollection, null, parentToolset.OverrideTasksPath);
291
Toolset t = new Toolset("Fake", parentToolset.
ToolsPath
, null, projectCollection, null, parentToolset.OverrideTasksPath);
313
Toolset t = new Toolset("Fake", parentToolset.
ToolsPath
, null, projectCollection, null, parentToolset.OverrideTasksPath);
341
Toolset t = new Toolset("Fake", parentToolset.
ToolsPath
, null, projectCollection, null, parentToolset.OverrideTasksPath);
457
Toolset t = new Toolset("Fake", parentToolset.
ToolsPath
, null, projectCollection, null, parentToolset.OverrideTasksPath);
542
Toolset fakeToolset = new Toolset("Fake", parentToolset.
ToolsPath
, properties, projectCollection, subToolsets, parentToolset.OverrideTasksPath);
Evaluation\Evaluator_Tests.cs (1)
5149
Toolset fakeToolset = new Toolset("Fake", parentToolset.
ToolsPath
, properties, projectCollection, subToolsets, parentToolset.OverrideTasksPath);
Instance\ProjectInstance_Internal_Tests.cs (1)
1036
template.
ToolsPath
,
TestComparers\TaskRegistryComparers.cs (2)
127
Assert.Equal(x.
ToolsPath
, y.
ToolsPath
);
Microsoft.Build.Utilities.UnitTests (1)
ToolLocationHelper_Tests.cs (1)
692
string tv12path = Path.Combine(ProjectCollection.GlobalProjectCollection.GetToolset(ObjectModelHelpers.MSBuildDefaultToolsVersion).
ToolsPath
, MSBuildExeName);
MSBuild (1)
XMake.cs (1)
1415
ProjectSchemaValidationHandler.VerifyProjectSchema(projectFile, schemaFile, toolset.
ToolsPath
);
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
200
string[] defaultTasksFiles = Directory.GetFiles(t.
ToolsPath
, "*.*tasks", SearchOption.TopDirectoryOnly);