2 writes to TargetPlatform
Microsoft.Build.Tasks.Core (2)
ResolveSDKReference.cs (2)
1097
TargetPlatform
= GetItemMetadataTrimmed(ReferenceItem, SDKManifest.Attributes.TargetPlatform);
1100
TargetPlatform
= _sdkManifest.TargetPlatform ?? String.Empty;
6 references to TargetPlatform
Microsoft.Build.Tasks.Core (5)
ResolveSDKReference.cs (5)
1098
if (String.IsNullOrEmpty(
TargetPlatform
))
1260
if (!String.IsNullOrEmpty(
TargetPlatform
) && !String.Equals(targetPlatformIdentifier,
TargetPlatform
) && (!PlatformAliases.TryGetValue(
TargetPlatform
, out string platform) || !String.Equals(targetPlatformIdentifier, platform, StringComparison.OrdinalIgnoreCase)))
1262
AddResolutionErrorOrWarning("ResolveSDKReference.TargetPlatformIdentifierDoesNotMatch", projectName, DisplayName, Version, targetPlatformIdentifier,
TargetPlatform
);
Microsoft.Build.Tasks.UnitTests (1)
ResolveSDKReference_Tests.cs (1)
4214
reference.
TargetPlatform
.ShouldBe("UAP");