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