Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rules and recommendations for .NET 8 #161

Merged
merged 3 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions RecommendationTools/RecommendationBatchUpdater/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ static void Main(string[] args)
// NOTE: We need to verify compatibility of packages added by rules with //
// the target framework being added. //
///////////////////////////////////////////////////////////////////////////
const string PreviousDotnetVersion = "net6.0";
const string NextDotnetVersion = "net7.0";
const string PreviousDotnetVersion = "net7.0";
const string NextDotnetVersion = "net8.0";

var recommendations = Loader.LoadBatchRecommendations(o.Directory);
Updater.BatchAddFramework(recommendations, NextDotnetVersion, PreviousDotnetVersion);
Expand Down
9 changes: 9 additions & 0 deletions recommendation/antlr.runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Add a reference to Antlr3.Runtime",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/antlr.runtime.misc.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Add reference to Antlr3.Runtime",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/antlr.runtime.tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Add a reference to Antlr3.Runtime",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.channels.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Replace System.ServiceModel.Channels with CoreWCF.Channels Namespace. Check CoreWCF Compatibility at https://github.com/CoreWCF/CoreWCF/releases",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.codebased.project.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Replace System.ServiceModel.Configuration with CoreWCF.Configuration Namespace. Check CoreWCF.Configuration Compatibility at https://github.com/CoreWCF/CoreWCF/releases",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.configurationbased.project.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.description.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Replace System.ServiceModel.Description with CoreWCF.Description Namespace. Check CoreWCF.Description Compatibility at https://github.com/CoreWCF/CoreWCF/releases",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.diagnostics.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Replace System.ServiceModel.Diagnostics with CoreWCF.Diagnostics Namespace. Check CoreWCF.Diagnostics Compatibility at https://github.com/CoreWCF/CoreWCF/releases",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.dispatcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Replace System.ServiceModel.Dispatcher with CoreWCF.Dispatcher Namespace. Check CoreWCF.Dispatcher Compatibility at https://github.com/CoreWCF/CoreWCF/releases",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.identitymodel.claims.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Replace System.IdentityModel.Claims with CoreWCF.IdentityModel.Claims Namespace. Check CoreWCF.IdentityModel.Claims Compatibility at https://github.com/CoreWCF/CoreWCF/releases",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.identitymodel.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Replace System.IdentityModel with CoreWCF.IdentityModel Namespace. Check CoreWCF.IdentityModel Compatibility at https://github.com/CoreWCF/CoreWCF/releases",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.identitymodel.policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Replace System.IdentityModel.Policy with CoreWCF.IdentityModel.Policy Namespace. Check CoreWCF.IdentityModel.Policy Compatibility at https://github.com/CoreWCF/CoreWCF/releases",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.identitymodel.selectors.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Replace System.IdentityModel.Selectors with CoreWCF.IdentityModel.Selectors Namespace. Check CoreWCF.IdentityModel.Selectors Compatibility at https://github.com/CoreWCF/CoreWCF/releases",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.identitymodel.services.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Replace System.IdentityModel.Services.Tokens with CoreWCF.IdentityModel.Services.Tokens Namespace. Check CoreWCF.IdentityModel.Services.Tokens Compatibility at https://github.com/CoreWCF/CoreWCF/releases",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.identitymodel.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Replace System.IdentityModel.Tokens with CoreWCF.IdentityModel.Tokens Namespace. Check CoreWCF.IdentityModel.Tokens Compatibility at https://github.com/CoreWCF/CoreWCF/releases",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Replace System.ServiceModel with CoreWCF Namespace. Check CoreWCF Compatibility at https://github.com/CoreWCF/CoreWCF/releases",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.security.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Replace System.ServiceModel.Security with CoreWCF.Security Namespace. Check CoreWCF.Security Compatibility at https://github.com/CoreWCF/CoreWCF/releases",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.security.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Replace System.ServiceModel.Security.Tokens with CoreWCF.Security.Tokens Namespace. Check CoreWCF.Security.Tokens Compatibility at https://github.com/CoreWCF/CoreWCF/releases",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/corewcf.servicelibrary.project.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/ionic.bzip2.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Add a reference to DotNetZip.",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/ionic.crc.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Add a reference to DotNetZip.",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/ionic.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Add a reference to DotNetZip.",
Expand Down
9 changes: 9 additions & 0 deletions recommendation/ionic.zip.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@
"ARM32",
"ARM64"
]
},
{
"Name": "net8.0",
"TargetCPU": [
"x86",
"x64",
"ARM32",
"ARM64"
]
}
],
"Description": "Add a reference to DotNetZip.",
Expand Down
Loading