3 writes to Path
Microsoft.Build.Utilities.Core (3)
TargetPlatformSDK.cs (1)
48Path = path;
ToolLocationHelper.cs (2)
2634targetPlatformSDK.Path = platformSDKDirectory; 2754targetPlatformSDK.Path = platformSDKDirectory;
26 references to Path
Microsoft.Build.Utilities.Core (13)
ToolLocationHelper.cs (13)
771return targetPlatforms.Where<TargetPlatformSDK>(platform => platform.Path != null).ToList<TargetPlatformSDK>(); 970string targetSdkPath = matchingSdk.Path; 1091contractWinMDs = GetApiContractReferences(manifest.ApiContracts, matchingSdk.Path, manifest.PlatformVersion); 1095contractWinMDs = GetApiContractReferences(manifest.ApiContracts, matchingSdk.Path); 1231? Path.Combine(matchingSdk.Path, folderName, targetPlatformVersion) 1232: Path.Combine(matchingSdk.Path, folderName); 1260return targetPlatform?.Path ?? string.Empty; 2632if (targetPlatformSDK.Path == null && platformSDKManifestExists) 2638if (!string.IsNullOrEmpty(targetPlatformSDK.Path)) 2752if (targetPlatformSDK.Path == null && platformSDKmanifestExists) 2758if (!string.IsNullOrEmpty(targetPlatformSDK.Path)) 3017ErrorUtilities.VerifyThrow(!string.IsNullOrEmpty(sdk.Path), "SDK path must be set"); 3021string platformsRoot = Path.Combine(sdk.Path, platformsFolderName);
Microsoft.Build.Utilities.UnitTests (13)
ToolLocationHelper_Tests.cs (13)
3794targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 3801targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 3812targetPlatforms[key].Path.ShouldBeNull(); 3819targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "3.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 3825targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 3830targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 3834targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "8.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 3843targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "9.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 4063targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 4066targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 4069targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "3.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 4072targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 4075targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);