61 references to Attributes
Microsoft.Build.Tasks.Core (41)
ResolveSDKReference.cs (41)
1023
SupportedArchitectures = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.SupportedArchitectures);
1029
DependsOnSDK = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.DependsOnSDK);
1035
FrameworkIdentity = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.FrameworkIdentity);
1052
AppxLocation = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.AppxLocation);
1067
PlatformIdentity = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.PlatformIdentity);
1073
MinOSVersion = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.MinOSVersion);
1079
MaxOSVersionTested = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.MaxOSVersionTested);
1085
MoreInfo = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.MoreInfo);
1091
MaxPlatformVersion = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.MaxPlatformVersion);
1097
TargetPlatform = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.TargetPlatform);
1103
TargetPlatformMinVersion = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.TargetPlatformMinVersion);
1109
TargetPlatformVersion = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.TargetPlatformVersion);
1115
string sdkTypeFromMetadata = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.SDKType);
1126
DisplayName = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.DisplayName);
1132
SupportPrefer32Bit = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.SupportPrefer32Bit);
1138
CopyRedistToSubDirectory = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.CopyRedistToSubDirectory);
1144
ProductFamilyName = GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.ProductFamilyName);
1150
if (!ParseSupportMultipleVersions(GetItemMetadataTrimmed(ReferenceItem, SDKManifest.
Attributes
.SupportsMultipleVersions)))
1175
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.ProductFamilyName, ProductFamilyName);
1292
string frameworkIdentityKey = String.Format(CultureInfo.InvariantCulture, "{0}-{1}-{2}", SDKManifest.
Attributes
.FrameworkIdentity, sdkConfiguration, sdkArchitecture);
1298
frameworkIdentityKey = String.Format(CultureInfo.InvariantCulture, "{0}-{1}", SDKManifest.
Attributes
.FrameworkIdentity, sdkConfiguration);
1305
frameworkIdentityKey = SDKManifest.
Attributes
.FrameworkIdentity;
1315
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.FrameworkIdentity, FrameworkIdentity);
1332
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.PlatformIdentity, PlatformIdentity);
1421
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.AppxLocation, AppxLocation);
1439
bool hasExpandReferenceAssemblies = bool.TryParse(ReferenceItem.GetMetadata(SDKManifest.
Attributes
.ExpandReferenceAssemblies), out result);
1440
bool hasCopyRedist = bool.TryParse(ReferenceItem.GetMetadata(SDKManifest.
Attributes
.CopyRedist), out result);
1441
bool hasCopyLocalExpandedReferenceAssemblies = bool.TryParse(ReferenceItem.GetMetadata(SDKManifest.
Attributes
.CopyLocalExpandedReferenceAssemblies), out result);
1447
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.SDKType, SDKType.ToString());
1452
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.DisplayName, DisplayName);
1463
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.ExpandReferenceAssemblies, "false");
1467
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.ExpandReferenceAssemblies, "true");
1475
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.CopyRedist, "false");
1479
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.CopyRedist, "true");
1487
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.CopyLocalExpandedReferenceAssemblies, "false");
1491
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.CopyLocalExpandedReferenceAssemblies, "true");
1497
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.CopyRedistToSubDirectory, CopyRedistToSubDirectory);
1502
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.MaxPlatformVersion, MaxPlatformVersion);
1507
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.MinOSVersion, MinOSVersion);
1512
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.MaxOSVersionTested, MaxOSVersionTested);
1517
ResolvedItem.SetMetadata(SDKManifest.
Attributes
.MoreInfo, MoreInfo);
Microsoft.Build.Tasks.UnitTests (1)
ResolveSDKReference_Tests.cs (1)
4199
SDKReference reference = new(new TaskItem("sdkReference", new Dictionary<string, string>() { { SDKManifest.
Attributes
.TargetPlatform, "UAP" } }), "sdkName", "1.0.2");
Microsoft.Build.Utilities.Core (19)
SDKManifest.cs (19)
375
if (attribute.Name.StartsWith(
Attributes
.FrameworkIdentity, StringComparison.OrdinalIgnoreCase))
386
if (attribute.Name.StartsWith(
Attributes
.APPX, StringComparison.OrdinalIgnoreCase))
399
case
Attributes
.TargetPlatform:
402
case
Attributes
.TargetPlatformMinVersion:
405
case
Attributes
.TargetPlatformVersion:
408
case
Attributes
.MinVSVersion:
411
case
Attributes
.MinOSVersion:
414
case
Attributes
.MaxOSVersionTested:
417
case
Attributes
.MaxPlatformVersion:
420
case
Attributes
.PlatformIdentity:
423
case
Attributes
.SupportPrefer32Bit:
426
case
Attributes
.SupportsMultipleVersions:
429
case
Attributes
.SDKType:
432
case
Attributes
.DisplayName:
435
case
Attributes
.MoreInfo:
438
case
Attributes
.CopyRedistToSubDirectory:
441
case
Attributes
.SupportedArchitectures:
444
case
Attributes
.DependsOnSDK:
447
case
Attributes
.ProductFamilyName: