1 implementation of ITargetFramework
NuGet.Build.Tasks.Console (1)
TargetFrameworkAdapter.cs (1)
10
internal class TargetFrameworkAdapter :
ITargetFramework
36 references to ITargetFramework
NuGet.Build.Tasks.Console (6)
MSBuildStaticGraphRestore.cs (2)
583
/// <param name="project">The <see cref="
ITargetFramework
" /> representing the project.</param>
633
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;
226
var
msBuildProjectInstance = projectInnerNode.Value;
335
/// <param name="project">The <see cref="
ITargetFramework
" /> representing the project.</param>
337
internal static bool IsLegacyProject(
ITargetFramework
project)
491
/// <param name="project">The <see cref="
ITargetFramework
" /> to get the central package management settings from.</param>
495
GetCentralPackageManagementSettings(
ITargetFramework
project, ProjectStyle projectStyle)
517
private static string GetProjectName(
ITargetFramework
project)
571
internal static List<ProjectRestoreMetadataFrameworkInfo> GetProjectRestoreMetadataFrameworkInfos(List<TargetFrameworkInformation> targetFrameworkInfos, IReadOnlyDictionary<string,
ITargetFramework
> projects)
577
var
project = projects[targetFrameworkInfo.TargetAlias];
591
/// <param name="project">The <see cref="
ITargetFramework
" /> to get project references for.</param>
593
internal static List<ProjectRestoreReference> GetProjectReferences(
ITargetFramework
project)
626
internal static ImmutableArray<LibraryDependency> GetPackageReferences(
ITargetFramework
project, bool isCentralPackageVersionManagementEnabled, IReadOnlyDictionary<string, CentralPackageVersion>? centralPackageVersions)
679
internal static Dictionary<string, PrunePackageReference> GetPrunePackageReferences(
ITargetFramework
project)
697
/// <param name="project">The <see cref="
ITargetFramework
" /> to get package downloads for.</param>
699
internal static IEnumerable<DownloadDependency> GetPackageDownloads(
ITargetFramework
project)
731
/// <param name="project">The <see cref="
ITargetFramework
" /> to get framework references for.</param>
733
internal static IReadOnlyCollection<FrameworkDependency>? GetFrameworkReferences(
ITargetFramework
project)
808
private static Dictionary<string, CentralPackageVersion> GetCentralPackageVersions(
ITargetFramework
project)
895
private static HashSet<string>? GetAuditSuppressions(
ITargetFramework
project)
910
private static IEnumerable<IItem> GetDistinctItemsOrEmpty(
ITargetFramework
project, string itemName)
927
internal static bool IsPropertyTrue(this
ITargetFramework
project, string propertyName, bool defaultValue = false)
939
internal static bool IsPropertyFalse(this
ITargetFramework
project, string propertyName, bool defaultValue = false)
966
/// <param name="project">The <see cref="
ITargetFramework
" /> to get the property value from.</param>
969
private static string[]? SplitPropertyValueOrNull(this
ITargetFramework
project, string name)