Skip to content

Commit 18baffd

Browse files
Adding .NET 10 support to TFM search (#10408)
* Temporary change * Changes * Undoind some changes * Undoing more changes * Undoing changes pt 3
1 parent 24d69cd commit 18baffd

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/NuGetGallery.Core/Frameworks/SupportedFrameworks.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,17 @@ public static class SupportedFrameworks
7272
public static readonly NuGetFramework Net90TvOs = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version9, "tvos", EmptyVersion);
7373
public static readonly NuGetFramework Net90Windows = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version9, "windows", EmptyVersion);
7474

75+
public static readonly Version Version10 = new Version(10, 0, 0, 0);
76+
public static readonly NuGetFramework Net100 = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10);
77+
78+
public static readonly NuGetFramework Net100Android = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10, "android", EmptyVersion);
79+
public static readonly NuGetFramework Net100Browser = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10, "browser", EmptyVersion);
80+
public static readonly NuGetFramework Net100Ios = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10, "ios", EmptyVersion);
81+
public static readonly NuGetFramework Net100MacCatalyst = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10, "maccatalyst", EmptyVersion);
82+
public static readonly NuGetFramework Net100MacOs = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10, "macos", EmptyVersion);
83+
public static readonly NuGetFramework Net100TvOs = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10, "tvos", EmptyVersion);
84+
public static readonly NuGetFramework Net100Windows = new NuGetFramework(FrameworkIdentifiers.NetCoreApp, Version10, "windows", EmptyVersion);
85+
7586
public static readonly IReadOnlyList<NuGetFramework> AllSupportedNuGetFrameworks;
7687

7788
static SupportedFrameworks()
@@ -86,6 +97,7 @@ static SupportedFrameworks()
8697
Net70, Net70Android, Net70Ios, Net70MacCatalyst, Net70MacOs, Net70TvOs, Net70Windows,
8798
Net80, Net80Android, Net80Browser, Net80Ios, Net80MacCatalyst, Net80MacOs, Net80TvOs, Net80Windows,
8899
Net90, Net90Android, Net90Browser, Net90Ios, Net90MacCatalyst, Net90MacOs, Net90TvOs, Net90Windows,
100+
Net100, Net100Android, Net100Browser, Net100Ios, Net100MacCatalyst, Net100MacOs, Net100TvOs, Net100Windows,
89101
NetCore, NetCore45, NetCore451,
90102
NetCoreApp10, NetCoreApp11, NetCoreApp20, NetCoreApp21, NetCoreApp22, NetCoreApp30, NetCoreApp31,
91103
NetMf,

0 commit comments

Comments
 (0)