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