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