4 writes to ResolvedItem
Microsoft.Build.Tasks.Core (1)
ResolveSDKReference.cs (1)
1170
ResolvedItem
= new TaskItem(ResolvedPath);
Microsoft.Build.Tasks.UnitTests (3)
ResolveSDKReference_Tests.cs (3)
321
reference1.
ResolvedItem
= new TaskItem();
325
reference2.
ResolvedItem
= new TaskItem();
329
reference3.
ResolvedItem
= new TaskItem();
31 references to ResolvedItem
Microsoft.Build.Tasks.Core (29)
ResolveSDKReference.cs (29)
465
ResolvedSDKReferences = sdkReferenceItems.Where(x => x.Resolved).Select(x => x.
ResolvedItem
).ToArray();
486
referenceItem.
ResolvedItem
.SetMetadata(metadataName, metadataValue);
924
ResolvedItem
.SetMetadata(GetInstalledSDKLocations.DirectoryRootsMetadataName, sdk.GetMetadata(GetInstalledSDKLocations.DirectoryRootsMetadataName));
925
ResolvedItem
.SetMetadata(GetInstalledSDKLocations.ExtensionDirectoryRootsMetadataName, sdk.GetMetadata(GetInstalledSDKLocations.ExtensionDirectoryRootsMetadataName));
926
ResolvedItem
.SetMetadata(GetInstalledSDKLocations.RegistryRootMetadataName, sdk.GetMetadata(GetInstalledSDKLocations.RegistryRootMetadataName));
1171
ResolvedItem
.SetMetadata("SDKName", SDKName);
1175
ResolvedItem
.SetMetadata(SDKManifest.Attributes.ProductFamilyName, ProductFamilyName);
1179
ReferenceItem.CopyMetadataTo(
ResolvedItem
);
1181
ResolvedItem
.SetMetadata("SupportsMultipleVersions", _supportsMultipleVersions.ToString());
1202
ResolvedItem
.SetMetadata(TargetedSDKConfiguration, sdkConfiguration);
1203
ResolvedItem
.SetMetadata(TargetedSDKArchitecture, sdkArchitecture);
1315
ResolvedItem
.SetMetadata(SDKManifest.Attributes.FrameworkIdentity, FrameworkIdentity);
1332
ResolvedItem
.SetMetadata(SDKManifest.Attributes.PlatformIdentity, PlatformIdentity);
1421
ResolvedItem
.SetMetadata(SDKManifest.Attributes.AppxLocation, AppxLocation);
1434
ResolvedItem
.SetMetadata("SimpleName", SimpleName);
1435
ResolvedItem
.SetMetadata("Version", Version);
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 (2)
ResolveSDKReference_Tests.cs (2)
342
Assert.Equal("true", reference.
ResolvedItem
.GetMetadata("RuntimeReferenceOnly"));
346
Assert.DoesNotContain("RuntimeReferenceOnly", reference.
ResolvedItem
.MetadataNames.ToString());