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