Skip to content

Commit 86a59c0

Browse files
committed
Update RecommendationBatchUpdater for .NET 10.0 framework support
cr: https://code.amazon.com/reviews/CR-216512171
1 parent f50ed0b commit 86a59c0

File tree

65 files changed

+1417
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1417
-4
lines changed

NuGet.Config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<configuration>
33
<packageSources>
44
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
5-
<add key="dotnet" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
5+
<!-- <add key="dotnet" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" /> -->
66
<add key="encore-nuget" value="https://s3-us-west-2.amazonaws.com/aws.portingassistant.dotnet.download/nuget/index.json" />
77
</packageSources>
88
</configuration>

RecommendationTools/RecommendationBatchUpdater/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ static void Main(string[] args)
1717
// NOTE: We need to verify compatibility of packages added by rules with //
1818
// the target framework being added. //
1919
///////////////////////////////////////////////////////////////////////////
20-
const string PreviousDotnetVersion = "net8.0";
21-
const string NextDotnetVersion = "net9.0";
20+
const string PreviousDotnetVersion = "net9.0";
21+
const string NextDotnetVersion = "net10.0";
2222

2323
var recommendations = Loader.LoadBatchRecommendations(o.Directory);
2424
Updater.BatchAddFramework(recommendations, NextDotnetVersion, PreviousDotnetVersion);

RecommendationTools/RecommendationBatchUpdater/RecommendationBatchUpdater.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

recommendation/antlr.runtime.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@
7171
"ARM32",
7272
"ARM64"
7373
]
74+
},
75+
{
76+
"Name": "net10.0",
77+
"TargetCPU": [
78+
"x86",
79+
"x64",
80+
"ARM32",
81+
"ARM64"
82+
]
7483
}
7584
],
7685
"Description": "Add a reference to Antlr3.Runtime",

recommendation/antlr.runtime.misc.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@
7171
"ARM32",
7272
"ARM64"
7373
]
74+
},
75+
{
76+
"Name": "net10.0",
77+
"TargetCPU": [
78+
"x86",
79+
"x64",
80+
"ARM32",
81+
"ARM64"
82+
]
7483
}
7584
],
7685
"Description": "Add reference to Antlr3.Runtime",

recommendation/antlr.runtime.tree.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@
7171
"ARM32",
7272
"ARM64"
7373
]
74+
},
75+
{
76+
"Name": "net10.0",
77+
"TargetCPU": [
78+
"x86",
79+
"x64",
80+
"ARM32",
81+
"ARM64"
82+
]
7483
}
7584
],
7685
"Description": "Add a reference to Antlr3.Runtime",

recommendation/corewcf.channels.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@
7171
"ARM32",
7272
"ARM64"
7373
]
74+
},
75+
{
76+
"Name": "net10.0",
77+
"TargetCPU": [
78+
"x86",
79+
"x64",
80+
"ARM32",
81+
"ARM64"
82+
]
7483
}
7584
],
7685
"Description": "Replace System.ServiceModel.Channels with CoreWCF.Channels Namespace. Check CoreWCF Compatibility at https://github.com/CoreWCF/CoreWCF/releases",

recommendation/corewcf.codebased.project.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@
7070
"ARM32",
7171
"ARM64"
7272
]
73+
},
74+
{
75+
"Name": "net10.0",
76+
"TargetCPU": [
77+
"x86",
78+
"x64",
79+
"ARM32",
80+
"ARM64"
81+
]
7382
}
7483
],
7584
"Description": "",

recommendation/corewcf.configuration.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@
7171
"ARM32",
7272
"ARM64"
7373
]
74+
},
75+
{
76+
"Name": "net10.0",
77+
"TargetCPU": [
78+
"x86",
79+
"x64",
80+
"ARM32",
81+
"ARM64"
82+
]
7483
}
7584
],
7685
"Description": "Replace System.ServiceModel.Configuration with CoreWCF.Configuration Namespace. Check CoreWCF.Configuration Compatibility at https://github.com/CoreWCF/CoreWCF/releases",

recommendation/corewcf.configurationbased.project.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@
7070
"ARM32",
7171
"ARM64"
7272
]
73+
},
74+
{
75+
"Name": "net10.0",
76+
"TargetCPU": [
77+
"x86",
78+
"x64",
79+
"ARM32",
80+
"ARM64"
81+
]
7382
}
7483
],
7584
"Description": "",

0 commit comments

Comments
 (0)