1 implementation of ITargetFramework
NuGet.Build.Tasks.Console (1)
TargetFrameworkAdapter.cs (1)
12
internal class TargetFrameworkAdapter :
ITargetFramework
36 references to ITargetFramework
NuGet.Build.Tasks.Console (6)
MSBuildStaticGraphRestore.cs (2)
590
/// <param name="project">The <see cref="
ITargetFramework
" /> representing the project.</param>
640
internal static string GetRestoreOutputPath(
ITargetFramework
outerBuild, string projectDirectory)
RestoreProjectAdapter.cs (4)
29
public
ITargetFramework
OuterBuild { get; private set; }
31
public IReadOnlyDictionary<string,
ITargetFramework
> TargetFrameworks => _targetFrameworks;
35
private ConcurrentDictionary<string,
ITargetFramework
> _targetFrameworks;
37
internal void AddTargetFramework(string targetFramework,
ITargetFramework
targetFrameworkInstance)
NuGet.Commands (30)
RestoreCommand\IProject.cs (2)
25
public
ITargetFramework
OuterBuild { get; }
30
public IReadOnlyDictionary<string,
ITargetFramework
> TargetFrameworks { get; }
RestoreCommand\Utility\PackageSpecFactory.cs (28)
83
/// <param name="project">The <see cref="
ITargetFramework
" /> representing the project.</param>
85
internal static NuGetVersion GetProjectVersion(
ITargetFramework
project)
100
/// <param name="project">The <see cref="
ITargetFramework
" /> representing the project.</param>
102
internal static NuGetVersion? GetSdkVersion(
ITargetFramework
project)
122
ITargetFramework
outerBuild = project.OuterBuild;
227
var
msBuildProjectInstance = projectInnerNode.Value;
349
/// <param name="project">The <see cref="
ITargetFramework
" /> representing the project.</param>
351
internal static bool IsLegacyProject(
ITargetFramework
project)
505
/// <param name="project">The <see cref="
ITargetFramework
" /> to get the central package management settings from.</param>
509
GetCentralPackageManagementSettings(
ITargetFramework
project, ProjectStyle projectStyle)
531
private static string GetProjectName(
ITargetFramework
project)
585
internal static List<ProjectRestoreMetadataFrameworkInfo> GetProjectRestoreMetadataFrameworkInfos(List<TargetFrameworkInformation> targetFrameworkInfos, IReadOnlyDictionary<string,
ITargetFramework
> projects)
591
var
project = projects[targetFrameworkInfo.TargetAlias];
605
/// <param name="project">The <see cref="
ITargetFramework
" /> to get project references for.</param>
607
internal static List<ProjectRestoreReference> GetProjectReferences(
ITargetFramework
project)
640
internal static ImmutableArray<LibraryDependency> GetPackageReferences(
ITargetFramework
project, bool isCentralPackageVersionManagementEnabled, IReadOnlyDictionary<string, CentralPackageVersion>? centralPackageVersions)
693
internal static Dictionary<string, PrunePackageReference> GetPrunePackageReferences(
ITargetFramework
project)
711
/// <param name="project">The <see cref="
ITargetFramework
" /> to get package downloads for.</param>
713
internal static IEnumerable<DownloadDependency> GetPackageDownloads(
ITargetFramework
project)
745
/// <param name="project">The <see cref="
ITargetFramework
" /> to get framework references for.</param>
747
internal static IReadOnlyCollection<FrameworkDependency>? GetFrameworkReferences(
ITargetFramework
project)
822
private static Dictionary<string, CentralPackageVersion> GetCentralPackageVersions(
ITargetFramework
project)
909
private static HashSet<string>? GetAuditSuppressions(
ITargetFramework
project)
924
private static IEnumerable<IItem> GetDistinctItemsOrEmpty(
ITargetFramework
project, string itemName)
941
internal static bool IsPropertyTrue(this
ITargetFramework
project, string propertyName, bool defaultValue = false)
953
internal static bool IsPropertyFalse(this
ITargetFramework
project, string propertyName, bool defaultValue = false)
980
/// <param name="project">The <see cref="
ITargetFramework
" /> to get the property value from.</param>
983
private static string[]? SplitPropertyValueOrNull(this
ITargetFramework
project, string name)