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