2 writes to MaxPlatformVersion
Microsoft.Build.Tasks.Core (2)
ResolveSDKReference.cs (2)
1091
MaxPlatformVersion
= GetItemMetadataTrimmed(ReferenceItem, SDKManifest.Attributes.MaxPlatformVersion);
1094
MaxPlatformVersion
= _sdkManifest.MaxPlatformVersion ?? String.Empty;
6 references to MaxPlatformVersion
Microsoft.Build.Tasks.Core (6)
ResolveSDKReference.cs (6)
1092
if (String.IsNullOrEmpty(
MaxPlatformVersion
))
1248
if (!String.IsNullOrEmpty(
MaxPlatformVersion
))
1250
if (System.Version.TryParse(
MaxPlatformVersion
, out Version maxPlatformVersionAsVersion) && (maxPlatformVersionAsVersion < targetPlatformVersion))
1252
AddResolutionWarning("ResolveSDKReference.MaxPlatformVersionLessThanTargetPlatformVersion", projectName, DisplayName, Version, targetPlatformIdentifier,
MaxPlatformVersion
, targetPlatformIdentifier, targetPlatformVersion.ToString());
1500
if (!String.IsNullOrEmpty(
MaxPlatformVersion
))
1502
ResolvedItem.SetMetadata(SDKManifest.Attributes.MaxPlatformVersion,
MaxPlatformVersion
);