1 write to ToolsPath
Microsoft.Build (1)
Definition\Toolset.cs (1)
280this.ToolsPath = toolsPath;
25 references to ToolsPath
Microsoft.Build (6)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
886_projectInstance.TaskRegistry.Toolset.ToolsPath);
Definition\Toolset.cs (3)
889string[] defaultTasksFiles = GetTaskFiles(_getFiles, loggingContext, DefaultTasksFilePattern, ToolsPath, "DefaultTasksFileLoadFailureWarning"); 914reservedProperties.Add(ProjectPropertyInstance.Create(ReservedPropertyNames.binPath, EscapingUtilities.Escape(ToolsPath), mayBeReserved: true)); 917reservedProperties.Add(ProjectPropertyInstance.Create(ReservedPropertyNames.toolsPath, EscapingUtilities.Escape(ToolsPath), mayBeReserved: true));
Evaluation\Evaluator.cs (2)
1139SetBuiltInProperty(ReservedPropertyNames.toolsPath, _data.Toolset.ToolsPath); 1140SetBuiltInProperty(ReservedPropertyNames.binPath, _data.Toolset.ToolsPath);
Microsoft.Build.Engine.OM.UnitTests (1)
Construction\ProjectRootElement_Tests.cs (1)
524string 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)
84Assert.Equal(expectedPath, t.ToolsPath); 116Assert.Equal(t.ToolsPath, t2.ToolsPath); 199Toolset t = new Toolset("Fake", parentToolset.ToolsPath, null, projectCollection, null, parentToolset.OverrideTasksPath); 233Toolset t = new Toolset("Fake", parentToolset.ToolsPath, null, projectCollection, null, parentToolset.OverrideTasksPath); 267Toolset t = new Toolset("Fake", parentToolset.ToolsPath, null, projectCollection, null, parentToolset.OverrideTasksPath); 289Toolset t = new Toolset("Fake", parentToolset.ToolsPath, null, projectCollection, null, parentToolset.OverrideTasksPath); 311Toolset t = new Toolset("Fake", parentToolset.ToolsPath, null, projectCollection, null, parentToolset.OverrideTasksPath); 339Toolset t = new Toolset("Fake", parentToolset.ToolsPath, null, projectCollection, null, parentToolset.OverrideTasksPath); 455Toolset t = new Toolset("Fake", parentToolset.ToolsPath, null, projectCollection, null, parentToolset.OverrideTasksPath); 540Toolset fakeToolset = new Toolset("Fake", parentToolset.ToolsPath, properties, projectCollection, subToolsets, parentToolset.OverrideTasksPath);
Evaluation\Evaluator_Tests.cs (1)
5184Toolset fakeToolset = new Toolset("Fake", parentToolset.ToolsPath, properties, projectCollection, subToolsets, parentToolset.OverrideTasksPath);
Instance\ProjectInstance_Internal_Tests.cs (1)
1035template.ToolsPath,
TestComparers\TaskRegistryComparers.cs (2)
127Assert.Equal(x.ToolsPath, y.ToolsPath);
Microsoft.Build.Utilities.UnitTests (1)
ToolLocationHelper_Tests.cs (1)
691string tv12path = Path.Combine(ProjectCollection.GlobalProjectCollection.GetToolset(ObjectModelHelpers.MSBuildDefaultToolsVersion).ToolsPath, MSBuildExeName);
MSBuild (1)
XMake.cs (1)
1424ProjectSchemaValidationHandler.VerifyProjectSchema(projectFile, schemaFile, toolset.ToolsPath);
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
200string[] defaultTasksFiles = Directory.GetFiles(t.ToolsPath, "*.*tasks", SearchOption.TopDirectoryOnly);