-
Notifications
You must be signed in to change notification settings - Fork 571
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 projects for .NET 8.0 and 9.0 support #648
Conversation
- Added BenchmarkDotNet attributes in Program.cs for .NET 8.0 and 9.0. - Updated RulesEngineBenchmark.csproj to target .NET 8.0 and 9.0; upgraded BenchmarkDotNet to 0.14.0. - Modified DemoApp.EFDataExample.csproj to target .NET 8.0 and 9.0; upgraded EF Core packages to 9.0.1. - Changed DemoApp.csproj to target .NET 8.0 and 9.0, preserving project references and workflow files. - Updated global.json to specify SDK version 9.0.0. - Modified RulesEngine.csproj to target .NET 9.0 and updated package references, including System.Text.Json. - Updated RulesEngine.UnitTest.csproj to target .NET 8.0 and 9.0; upgraded testing libraries and System.Text.Json.
Hi @pbhal Can you please review the PR, it fixes many of the outstanding issues and vulnerabilities. |
@falvarez1 Can we keep .Net 6 also? |
Sure, I can keep .net 6 support, but why do this when Microsoft doesn't support it anymore? |
@YogeshPraj actually if I re-introduce .Net 6 then that brings in the vulnerabilities for packages like reference: How would you like for me to continue? |
ab9f582
to
c85cab6
Compare
Added .Net6.0 back c85cab6 |
@falvarez1 - Thank you for the PR, it looks good to me. |
Description
This PR
removes .NET 6.0 support (as it has reached end-of-life) andadds .NET 9.0 support. Package references have been updated to their latest versions, which resolves all reported security vulnerabilities.Issues Addressed
Changes
Project Updates
RulesEngine.csproj
: Updated target frameworks to .NET 9.0 and modernized package referencesRulesEngine.UnitTest.csproj
: Added .NET 8.0 and 9.0 targets; upgraded testing librariesglobal.json
: Updated SDK version to 9.0.0Demo Applications
DemoApp.csproj
: Added .NET 8.0 and 9.0 targets while maintaining project referencesDemoApp.EFDataExample.csproj
: Updated to .NET 8.0/9.0 with EF Core 9.0.1JsonElement
with nullBenchmark Project
RulesEngineBenchmark.csproj
: Added .NET 8.0/9.0 targets; upgraded BenchmarkDotNet to 0.14.0Program.cs
: Added framework-specific benchmark attributesTesting