2 references to GetNearestPlatform
Microsoft.Build (1)
Graph\ProjectInterpretation.cs (1)
186
var selectedPlatform = PlatformNegotiation.
GetNearestPlatform
(overridePlatformNegotiationMetadataValue, projectInstance.GetEngineRequiredPropertyValue(PlatformMetadataName), projectInstance.GetEngineRequiredPropertyValue(PlatformsMetadataName), projectInstance.GetEngineRequiredPropertyValue(PlatformLookupTableMetadataName), requesterInstance.GetEngineRequiredPropertyValue(PlatformLookupTableMetadataName), projectInstance.FullPath, requesterInstance.GetEngineRequiredPropertyValue(PlatformMetadataName));
Microsoft.Build.Tasks.Core (1)
GetCompatiblePlatform.cs (1)
65
string? buildProjectReferenceAs = PlatformNegotiation.
GetNearestPlatform
(projectReferenceOverridePlatformNegotiationMetadata, referencedProjectPlatform, projectReferencePlatformsMetadata, projectReferenceLookupTableMetadata, PlatformLookupTable, AssignedProjectsWithPlatform[i].ItemSpec, CurrentProjectPlatform, Log);