3 writes to Path
Microsoft.Build.Utilities.Core (3)
TargetPlatformSDK.cs (1)
49
Path
= path;
ToolLocationHelper.cs (2)
2635
targetPlatformSDK.
Path
= platformSDKDirectory;
2755
targetPlatformSDK.
Path
= platformSDKDirectory;
26 references to Path
Microsoft.Build.Utilities.Core (13)
ToolLocationHelper.cs (13)
772
return targetPlatforms.Where<TargetPlatformSDK>(platform => platform.
Path
!= null).ToList<TargetPlatformSDK>();
971
string targetSdkPath = matchingSdk.
Path
;
1092
contractWinMDs = GetApiContractReferences(manifest.ApiContracts, matchingSdk.
Path
, manifest.PlatformVersion);
1096
contractWinMDs = GetApiContractReferences(manifest.ApiContracts, matchingSdk.
Path
);
1232
? Path.Combine(matchingSdk.
Path
, folderName, targetPlatformVersion)
1233
: Path.Combine(matchingSdk.
Path
, folderName);
1261
return targetPlatform?.
Path
?? string.Empty;
2633
if (targetPlatformSDK.
Path
== null && platformSDKManifestExists)
2639
if (!string.IsNullOrEmpty(targetPlatformSDK.
Path
))
2753
if (targetPlatformSDK.
Path
== null && platformSDKmanifestExists)
2759
if (!string.IsNullOrEmpty(targetPlatformSDK.
Path
))
3018
ErrorUtilities.VerifyThrow(!string.IsNullOrEmpty(sdk.
Path
), "SDK path must be set");
3022
string platformsRoot = Path.Combine(sdk.
Path
, platformsFolderName);
Microsoft.Build.Utilities.UnitTests (13)
ToolLocationHelper_Tests.cs (13)
3795
targetPlatforms[key].
Path
.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3802
targetPlatforms[key].
Path
.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3813
targetPlatforms[key].
Path
.ShouldBeNull();
3820
targetPlatforms[key].
Path
.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "3.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3826
targetPlatforms[key].
Path
.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3831
targetPlatforms[key].
Path
.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3835
targetPlatforms[key].
Path
.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "8.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
3844
targetPlatforms[key].
Path
.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "9.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
4064
targetPlatforms[key].
Path
.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
4067
targetPlatforms[key].
Path
.ShouldBe(Path.Combine(_fakeStructureRoot, "Windows", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
4070
targetPlatforms[key].
Path
.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "3.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
4073
targetPlatforms[key].
Path
.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "2.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);
4076
targetPlatforms[key].
Path
.ShouldBe(Path.Combine(_fakeStructureRoot, "MyPlatform", "1.0") + Path.DirectorySeparatorChar, StringCompareShould.IgnoreCase);