19 references to NuGetUtils
Microsoft.NET.Build.Tasks (19)
GenerateShims.cs (1)
105NuGetUtils.ParseFrameworkName(TargetFrameworkMoniker).GetShortFolderName(),
LockFileExtensions.cs (4)
21var nuGetFramework = NuGetUtils.ParseFrameworkName(frameworkAlias); 145NuGetUtils.ParseFrameworkName(groupFrameworkAlias.Split('/').First()).DotNetFrameworkName.Equals(NuGetUtils.ParseFrameworkName(frameworkAlias).DotNetFrameworkName)) 262=> NuGetUtils.IsPlaceholderFile(item.Path);
PickBestRid.cs (1)
47var bestRidForPlatform = NuGetUtils.GetBestMatchingRid(graph, TargetRid, SupportedRids, out bool wasInGraph);
ProcessFrameworkReferences.cs (3)
679string? runtimePackRuntimeIdentifier = NuGetUtils.GetBestMatchingRidWithExclusion( 831hostRuntimeIdentifier = NuGetUtils.GetBestMatchingRid(runtimeGraph, hostRuntimeIdentifier, packSupportedRuntimeIdentifiers, out bool wasInGraph); 870var targetRuntimeIdentifier = NuGetUtils.GetBestMatchingRid(runtimeGraph, EffectiveRuntimeIdentifier, packSupportedRuntimeIdentifiers, out bool wasInGraph2);
ProduceContentAssets.cs (2)
162string projectLanguage = NuGetUtils.GetLockFileLanguageName(ProjectLanguage); 178if (NuGetUtils.IsPlaceholderFile(contentFile.ItemSpec))
ResolveAppHosts.cs (1)
247string bestAppHostRuntimeIdentifier = NuGetUtils.GetBestMatchingRidWithExclusion(
ResolvePackageAssets.cs (1)
995if (NuGetUtils.IsApplicableAnalyzer(file, _cacheWriter._task.ProjectLanguage))
ResolvePackageDependencies.cs (4)
190if (NuGetUtils.IsPlaceholderFile(file)) 204if (NuGetUtils.IsApplicableAnalyzer(file, ProjectLanguage)) 372if (NuGetUtils.IsPlaceholderFile(filePath)) 442if (NuGetUtils.IsPlaceholderFile(relativePath))
ResolveReadyToRunCompilers.cs (2)
132return NuGetUtils.GetBestMatchingRid( 210string portablePlatform = NuGetUtils.GetBestMatchingRid(