3 writes to Path
Microsoft.Build.Utilities.Core (3)
TargetPlatformSDK.cs (1)
48Path = path;
ToolLocationHelper.cs (2)
2640targetPlatformSDK.Path = platformSDKDirectory; 2760targetPlatformSDK.Path = platformSDKDirectory;
26 references to Path
Microsoft.Build.Utilities.Core (13)
ToolLocationHelper.cs (13)
776return targetPlatforms.Where<TargetPlatformSDK>(platform => platform.Path != null).ToList<TargetPlatformSDK>(); 975string targetSdkPath = matchingSdk.Path; 1096contractWinMDs = GetApiContractReferences(manifest.ApiContracts, matchingSdk.Path, manifest.PlatformVersion); 1100contractWinMDs = GetApiContractReferences(manifest.ApiContracts, matchingSdk.Path); 1236? Path.Combine(matchingSdk.Path, folderName, targetPlatformVersion) 1237: Path.Combine(matchingSdk.Path, folderName); 1265return targetPlatform?.Path ?? string.Empty; 2638if (targetPlatformSDK.Path == null && platformSDKManifestExists) 2644if (!string.IsNullOrEmpty(targetPlatformSDK.Path)) 2758if (targetPlatformSDK.Path == null && platformSDKmanifestExists) 2764if (!string.IsNullOrEmpty(targetPlatformSDK.Path)) 3023ErrorUtilities.VerifyThrow(!string.IsNullOrEmpty(sdk.Path), "SDK path must be set"); 3027string platformsRoot = Path.Combine(sdk.Path, platformsFolderName);
Microsoft.Build.Utilities.UnitTests (13)
ToolLocationHelper_Tests.cs (13)
3795targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 3802targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 3813targetPlatforms[key].Path.ShouldBeNull(); 3820targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "3.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 3826targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 3831targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 3835targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "8.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 3844targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "9.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 4064targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 4067targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 4070targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "3.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 4073targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase); 4076targetPlatforms[key].Path.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);