Skip to content

chore: Upgrade to net10#1049

Open
Aravind.H.U (aravind666) wants to merge 20 commits intomainfrom
upgrade-to-NET10
Open

chore: Upgrade to net10#1049
Aravind.H.U (aravind666) wants to merge 20 commits intomainfrom
upgrade-to-NET10

Conversation

@aravind666
Copy link
Contributor

@aravind666 Aravind.H.U (aravind666) commented Jan 13, 2026

Project target framework modifications

Project name Old Target Framework New Target Framework Commits
Philips.CodeAnalysis.Common\Philips.CodeAnalysis.Common.csproj net8.0;netstandard2.0 net8.0;netstandard2.0;net10.0 354bd48
Philips.CodeAnalysis.DuplicateCodeAnalyzer\Philips.CodeAnalysis.DuplicateCodeAnalyzer.csproj net8.0;netstandard2.0 net8.0;netstandard2.0;net10.0 176ddb2
Philips.CodeAnalysis.SecurityAnalyzers\Philips.CodeAnalysis.SecurityAnalyzers.csproj net8.0;netstandard2.0 net8.0;netstandard2.0;net10.0 10349db
Philips.CodeAnalysis.MaintainabilityAnalyzers\Philips.CodeAnalysis.MaintainabilityAnalyzers.csproj net8.0;netstandard2.0 net8.0;netstandard2.0;net10.0 9be2bd7
Philips.CodeAnalysis.MoqAnalyzers\Philips.CodeAnalysis.MoqAnalyzers.csproj net8.0;netstandard2.0 net8.0;netstandard2.0;net10.0 486638a
Philips.CodeAnalysis.MsTestAnalyzers\Philips.CodeAnalysis.MsTestAnalyzers.csproj net8.0;netstandard2.0 net8.0;netstandard2.0;net10.0 667a95d
Philips.CodeAnalysis.AnalyzerPerformance\Philips.CodeAnalysis.AnalyzerPerformance.csproj net8.0 net10.0 e5c21ff
Philips.CodeAnalysis.Benchmark\Philips.CodeAnalysis.Benchmark.csproj net8.0 net10.0 9fb29b8
Philips.CodeAnalysis.Test\Philips.CodeAnalysis.Test.csproj net8.0 net10.0 af3bdff

Extended the supported target frameworks in Philips.CodeAnalysis.Common.csproj by adding net10.0 alongside net8.0 and netstandard2.0. This change enables the project to build and run on .NET 10.0 in addition to the previously supported frameworks.
Extended the supported target frameworks in Philips.CodeAnalysis.DuplicateCodeAnalyzer.csproj by adding net10.0 alongside net8.0 and netstandard2.0, enabling compatibility with .NET 10.0.
Updated Philips.CodeAnalysis.SecurityAnalyzers.csproj to include net10.0 in the TargetFrameworks property, alongside net8.0 and netstandard2.0, expanding compatibility for the security analyzers package.
Added net10.0 to TargetFrameworks, expanding support alongside net8.0 and netstandard2.0. Other project properties remain unchanged.
Updated Philips.CodeAnalysis.MoqAnalyzers.csproj to include net10.0 in the TargetFrameworks property, alongside net8.0 and netstandard2.0, enabling the project to target .NET 10.0 in addition to existing frameworks.
Extended the supported target frameworks in Philips.CodeAnalysis.MsTestAnalyzers.csproj by adding net10.0 alongside net8.0 and netstandard2.0, enabling compatibility with .NET 10.0.
Changed the TargetFramework in Philips.CodeAnalysis.AnalyzerPerformance.csproj from net8.0 to net10.0 to support the latest .NET version. No other project settings were modified.
Changed the TargetFramework property in Philips.CodeAnalysis.Benchmark.csproj from net8.0 to net10.0 to upgrade the project's framework version. No other modifications were made.
Changed the target framework in Philips.CodeAnalysis.Test.csproj from net8.0 to net10.0 to support newer .NET features and compatibility. No other project settings were modified.
@aravind666 Aravind.H.U (aravind666) changed the title Upgrade to net10 Major: Upgrade to net10 Jan 13, 2026
@aravind666 Aravind.H.U (aravind666) changed the title Major: Upgrade to net10 chore: Upgrade to net10 Jan 13, 2026
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete the upgrade md file.
"chore" is correct? This doesn't affect backwards compatibility, right? (I have an action item to upgrade the CodeAnalysis libraries, but that will break compatibility with old stuff, so i was going to increment the major number.)
For the yml's, any reason to keep the 8.0.0 stuff?

@aravind666
Copy link
Contributor Author

delete the upgrade md file. "chore" is correct? This doesn't affect backwards compatibility, right? (I have an action item to upgrade the CodeAnalysis libraries, but that will break compatibility with old stuff, so i was going to increment the major number.) For the yml's, any reason to keep the 8.0.0 stuff?

I just learnt something new, all analyzers are to be targetted only .netstandard 2.0 we should not target to something like .NET 8 or 10 according to Microsoft, it causes multiple issues when targetted, and also codeanalysis nugget probably we cannot upgrade it has tons of breaking changes.

Will update here and postback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants