13 instantiations of SDKManifest
Microsoft.Build.Tasks.Core (1)
ResolveSDKReference.cs (1)
1015_sdkManifest = new SDKManifest(ResolvedPath);
Microsoft.Build.Utilities.Core (2)
ExtensionSDK.cs (1)
146private SDKManifest Manifest => _manifest ?? (_manifest = new SDKManifest(_path));
TargetPlatformSDK.cs (1)
137_manifest = new SDKManifest(_path);
Microsoft.Build.Utilities.UnitTests (10)
ToolLocationHelper_Tests.cs (10)
3119Should.Throw<ArgumentNullException>(() => new SDKManifest(null)); 3120Should.Throw<ArgumentException>(() => new SDKManifest("")); 3164SDKManifest sdkManifest = new SDKManifest(frameworkPath); 3189SDKManifest sdkManifest2 = new SDKManifest(frameworkPath); 3213SDKManifest sdkManifest3 = new SDKManifest(frameworkPath); 3237SDKManifest sdkManifest4 = new SDKManifest(frameworkPath2); 3261SDKManifest sdkManifest5 = new SDKManifest(frameworkPath); 3305SDKManifest sdkManifest = new SDKManifest(manifestPath); 3357sdkManifest = new SDKManifest(manifestPath); 3400sdkManifest = new SDKManifest(manifestPath);
53 references to SDKManifest
Microsoft.Build.Tasks.Core (42)
ResolveSDKReference.cs (42)
711private SDKManifest _sdkManifest; 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 (4)
ExtensionSDK.cs (2)
40private SDKManifest _manifest; 146private SDKManifest Manifest => _manifest ?? (_manifest = new SDKManifest(_path));
TargetPlatformSDK.cs (2)
28private SDKManifest _manifest; 130private SDKManifest Manifest
Microsoft.Build.Utilities.UnitTests (6)
ToolLocationHelper_Tests.cs (6)
3164SDKManifest sdkManifest = new SDKManifest(frameworkPath); 3189SDKManifest sdkManifest2 = new SDKManifest(frameworkPath); 3213SDKManifest sdkManifest3 = new SDKManifest(frameworkPath); 3237SDKManifest sdkManifest4 = new SDKManifest(frameworkPath2); 3261SDKManifest sdkManifest5 = new SDKManifest(frameworkPath); 3305SDKManifest sdkManifest = new SDKManifest(manifestPath);