1 implementation of ITargetFramework
NuGet.Build.Tasks.Console (1)
TargetFrameworkAdapter.cs (1)
12
internal class TargetFrameworkAdapter :
ITargetFramework
35 references to ITargetFramework
NuGet.Build.Tasks.Console (5)
MSBuildStaticGraphRestore.cs (1)
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;
228
var
msBuildProjectInstance = projectInnerNode.Value;
350
/// <param name="project">The <see cref="
ITargetFramework
" /> representing the project.</param>
352
internal static bool IsLegacyProject(
ITargetFramework
project)
506
/// <param name="project">The <see cref="
ITargetFramework
" /> to get the central package management settings from.</param>
510
GetCentralPackageManagementSettings(
ITargetFramework
project, ProjectStyle projectStyle)
532
private static string GetProjectName(
ITargetFramework
project)
586
internal static List<ProjectRestoreMetadataFrameworkInfo> GetProjectRestoreMetadataFrameworkInfos(List<TargetFrameworkInformation> targetFrameworkInfos, IReadOnlyDictionary<string,
ITargetFramework
> projects)
592
var
project = projects[targetFrameworkInfo.TargetAlias];
607
/// <param name="project">The <see cref="
ITargetFramework
" /> to get project references for.</param>
609
internal static List<ProjectRestoreReference> GetProjectReferences(
ITargetFramework
project)
642
internal static ImmutableArray<LibraryDependency> GetPackageReferences(
ITargetFramework
project, bool isCentralPackageVersionManagementEnabled, IReadOnlyDictionary<string, CentralPackageVersion>? centralPackageVersions)
695
internal static Dictionary<string, PrunePackageReference> GetPrunePackageReferences(
ITargetFramework
project)
713
/// <param name="project">The <see cref="
ITargetFramework
" /> to get package downloads for.</param>
715
internal static IEnumerable<DownloadDependency> GetPackageDownloads(
ITargetFramework
project)
747
/// <param name="project">The <see cref="
ITargetFramework
" /> to get framework references for.</param>
749
internal static IReadOnlyCollection<FrameworkDependency>? GetFrameworkReferences(
ITargetFramework
project)
824
private static Dictionary<string, CentralPackageVersion> GetCentralPackageVersions(
ITargetFramework
project)
911
private static HashSet<string>? GetAuditSuppressions(
ITargetFramework
project)
926
private static IEnumerable<IItem> GetDistinctItemsOrEmpty(
ITargetFramework
project, string itemName)
943
internal static bool IsPropertyTrue(this
ITargetFramework
project, string propertyName, bool defaultValue = false)
955
internal static bool IsPropertyFalse(this
ITargetFramework
project, string propertyName, bool defaultValue = false)
982
/// <param name="project">The <see cref="
ITargetFramework
" /> to get the property value from.</param>
985
private static string[]? SplitPropertyValueOrNull(this
ITargetFramework
project, string name)