2 writes to MaxPlatformVersion
Microsoft.Build.Tasks.Core (2)
ResolveSDKReference.cs (2)
1095
MaxPlatformVersion
= GetItemMetadataTrimmed(ReferenceItem, SDKManifest.Attributes.MaxPlatformVersion);
1098
MaxPlatformVersion
= _sdkManifest.MaxPlatformVersion ?? String.Empty;
6 references to MaxPlatformVersion
Microsoft.Build.Tasks.Core (6)
ResolveSDKReference.cs (6)
1096
if (String.IsNullOrEmpty(
MaxPlatformVersion
))
1252
if (!String.IsNullOrEmpty(
MaxPlatformVersion
))
1254
if (System.Version.TryParse(
MaxPlatformVersion
, out Version maxPlatformVersionAsVersion) && (maxPlatformVersionAsVersion < targetPlatformVersion))
1256
AddResolutionWarning("ResolveSDKReference.MaxPlatformVersionLessThanTargetPlatformVersion", projectName, DisplayName, Version, targetPlatformIdentifier,
MaxPlatformVersion
, targetPlatformIdentifier, targetPlatformVersion.ToString());
1504
if (!String.IsNullOrEmpty(
MaxPlatformVersion
))
1506
ResolvedItem.SetMetadata(SDKManifest.Attributes.MaxPlatformVersion,
MaxPlatformVersion
);