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