From d68040a4f74bdcc358208718747872727a58cdd9 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 20:12:56 +0530 Subject: [PATCH 01/20] Commit upgrade plan --- .github/upgrades/dotnet-upgrade-plan.md | 70 +++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 .github/upgrades/dotnet-upgrade-plan.md diff --git a/.github/upgrades/dotnet-upgrade-plan.md b/.github/upgrades/dotnet-upgrade-plan.md new file mode 100644 index 00000000..b1b8ab84 --- /dev/null +++ b/.github/upgrades/dotnet-upgrade-plan.md @@ -0,0 +1,70 @@ +# .NET 10.0 Upgrade Plan + +## Execution Steps + +Execute steps below sequentially one by one in the order they are listed. + +1. Validate that a .NET 10.0 SDK required for this upgrade is installed on the machine and if not, help to get it installed. +2. Ensure that the SDK version specified in global.json files is compatible with the .NET 10.0 upgrade. +3. Upgrade Philips.CodeAnalysis.Common\Philips.CodeAnalysis.Common.csproj +4. Upgrade Philips.CodeAnalysis.DuplicateCodeAnalyzer\Philips.CodeAnalysis.DuplicateCodeAnalyzer.csproj +5. Upgrade Philips.CodeAnalysis.SecurityAnalyzers\Philips.CodeAnalysis.SecurityAnalyzers.csproj +6. Upgrade Philips.CodeAnalysis.MaintainabilityAnalyzers\Philips.CodeAnalysis.MaintainabilityAnalyzers.csproj +7. Upgrade Philips.CodeAnalysis.MoqAnalyzers\Philips.CodeAnalysis.MoqAnalyzers.csproj +8. Upgrade Philips.CodeAnalysis.MsTestAnalyzers\Philips.CodeAnalysis.MsTestAnalyzers.csproj +9. Upgrade Philips.CodeAnalysis.AnalyzerPerformance\Philips.CodeAnalysis.AnalyzerPerformance.csproj +10. Upgrade Philips.CodeAnalysis.Benchmark\Philips.CodeAnalysis.Benchmark.csproj +11. Upgrade Philips.CodeAnalysis.Test\Philips.CodeAnalysis.Test.csproj + +## Settings + +This section contains settings and data used by execution steps. + +### Project upgrade details + +This section contains details about each project upgrade and modifications that need to be done in the project. + +#### Philips.CodeAnalysis.Common\Philips.CodeAnalysis.Common.csproj modifications + +Project properties changes: + - Target frameworks should be changed from `net8.0;netstandard2.0` to `net8.0;netstandard2.0;net10.0` + +#### Philips.CodeAnalysis.DuplicateCodeAnalyzer\Philips.CodeAnalysis.DuplicateCodeAnalyzer.csproj modifications + +Project properties changes: + - Target frameworks should be changed from `net8.0;netstandard2.0` to `net8.0;netstandard2.0;net10.0` + +#### Philips.CodeAnalysis.SecurityAnalyzers\Philips.CodeAnalysis.SecurityAnalyzers.csproj modifications + +Project properties changes: + - Target frameworks should be changed from `net8.0;netstandard2.0` to `net8.0;netstandard2.0;net10.0` + +#### Philips.CodeAnalysis.MaintainabilityAnalyzers\Philips.CodeAnalysis.MaintainabilityAnalyzers.csproj modifications + +Project properties changes: + - Target frameworks should be changed from `net8.0;netstandard2.0` to `net8.0;netstandard2.0;net10.0` + +#### Philips.CodeAnalysis.MoqAnalyzers\Philips.CodeAnalysis.MoqAnalyzers.csproj modifications + +Project properties changes: + - Target frameworks should be changed from `net8.0;netstandard2.0` to `net8.0;netstandard2.0;net10.0` + +#### Philips.CodeAnalysis.MsTestAnalyzers\Philips.CodeAnalysis.MsTestAnalyzers.csproj modifications + +Project properties changes: + - Target frameworks should be changed from `net8.0;netstandard2.0` to `net8.0;netstandard2.0;net10.0` + +#### Philips.CodeAnalysis.AnalyzerPerformance\Philips.CodeAnalysis.AnalyzerPerformance.csproj modifications + +Project properties changes: + - Target framework should be changed from `net8.0` to `net10.0` + +#### Philips.CodeAnalysis.Benchmark\Philips.CodeAnalysis.Benchmark.csproj modifications + +Project properties changes: + - Target framework should be changed from `net8.0` to `net10.0` + +#### Philips.CodeAnalysis.Test\Philips.CodeAnalysis.Test.csproj modifications + +Project properties changes: + - Target framework should be changed from `net8.0` to `net10.0` From 354bd48c2eaa3508d727fe47aceb39b67008bc12 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 20:13:46 +0530 Subject: [PATCH 02/20] Add net10.0 to TargetFrameworks in Philips.CodeAnalysis.Common.csproj 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. --- Philips.CodeAnalysis.Common/Philips.CodeAnalysis.Common.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Philips.CodeAnalysis.Common/Philips.CodeAnalysis.Common.csproj b/Philips.CodeAnalysis.Common/Philips.CodeAnalysis.Common.csproj index 08e0f77a..34ebfd14 100644 --- a/Philips.CodeAnalysis.Common/Philips.CodeAnalysis.Common.csproj +++ b/Philips.CodeAnalysis.Common/Philips.CodeAnalysis.Common.csproj @@ -2,7 +2,7 @@ - net8.0;netstandard2.0 + net8.0;netstandard2.0;net10.0 true 1.0.3.0 From 176ddb2a8509f00bd4e711cc0b67d188265196c4 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 20:14:17 +0530 Subject: [PATCH 03/20] Add net10.0 to TargetFrameworks in .csproj file 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. --- .../Philips.CodeAnalysis.DuplicateCodeAnalyzer.csproj | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Philips.CodeAnalysis.DuplicateCodeAnalyzer/Philips.CodeAnalysis.DuplicateCodeAnalyzer.csproj b/Philips.CodeAnalysis.DuplicateCodeAnalyzer/Philips.CodeAnalysis.DuplicateCodeAnalyzer.csproj index ecdffffc..84932b1a 100644 --- a/Philips.CodeAnalysis.DuplicateCodeAnalyzer/Philips.CodeAnalysis.DuplicateCodeAnalyzer.csproj +++ b/Philips.CodeAnalysis.DuplicateCodeAnalyzer/Philips.CodeAnalysis.DuplicateCodeAnalyzer.csproj @@ -3,10 +3,7 @@ - net8.0;netstandard2.0 - - - + net8.0;netstandard2.0;net10.0 Detects Duplicate Code Shapes CSharp MsTest Roslyn CodeAnalysis analyzers cpd duplicate Philips From 10349dbee3e034182d1660df5a04b58acd399a90 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 20:14:46 +0530 Subject: [PATCH 04/20] Add net10.0 to target frameworks in .csproj file 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. --- .../Philips.CodeAnalysis.SecurityAnalyzers.csproj | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Philips.CodeAnalysis.SecurityAnalyzers/Philips.CodeAnalysis.SecurityAnalyzers.csproj b/Philips.CodeAnalysis.SecurityAnalyzers/Philips.CodeAnalysis.SecurityAnalyzers.csproj index 85820c53..7e446170 100644 --- a/Philips.CodeAnalysis.SecurityAnalyzers/Philips.CodeAnalysis.SecurityAnalyzers.csproj +++ b/Philips.CodeAnalysis.SecurityAnalyzers/Philips.CodeAnalysis.SecurityAnalyzers.csproj @@ -3,10 +3,7 @@ - net8.0;netstandard2.0 - - - + net8.0;netstandard2.0;net10.0 Roslyn Diagnostic Analyzers for potential security findings CSharp Security Roslyn CodeAnalysis analyzers Philips From 9be2bd7388a2ee9c5da7fc8da0e5857f9a3148a1 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 20:15:22 +0530 Subject: [PATCH 05/20] Update target frameworks in MaintainabilityAnalyzers.csproj Added net10.0 to TargetFrameworks, expanding support alongside net8.0 and netstandard2.0. Other project properties remain unchanged. --- .../Philips.CodeAnalysis.MaintainabilityAnalyzers.csproj | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Philips.CodeAnalysis.MaintainabilityAnalyzers/Philips.CodeAnalysis.MaintainabilityAnalyzers.csproj b/Philips.CodeAnalysis.MaintainabilityAnalyzers/Philips.CodeAnalysis.MaintainabilityAnalyzers.csproj index 8f4b4d77..1b78d4d1 100644 --- a/Philips.CodeAnalysis.MaintainabilityAnalyzers/Philips.CodeAnalysis.MaintainabilityAnalyzers.csproj +++ b/Philips.CodeAnalysis.MaintainabilityAnalyzers/Philips.CodeAnalysis.MaintainabilityAnalyzers.csproj @@ -2,10 +2,8 @@ - net8.0;netstandard2.0 + net8.0;netstandard2.0;net10.0 true - - Roslyn Diagnostic Analyzers for helping maintainability or readability of C# code CSharp Maintainability Roslyn CodeAnalysis analyzers Philips Added PH2144: AvoidIncorrectForLoopCondition analyzer to detect backwards for-loop boundary check issues From 486638a57427ff672d7f925efada20922bf590d9 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 20:16:00 +0530 Subject: [PATCH 06/20] Add net10.0 to target frameworks in MoqAnalyzers.csproj 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. --- .../Philips.CodeAnalysis.MoqAnalyzers.csproj | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Philips.CodeAnalysis.MoqAnalyzers/Philips.CodeAnalysis.MoqAnalyzers.csproj b/Philips.CodeAnalysis.MoqAnalyzers/Philips.CodeAnalysis.MoqAnalyzers.csproj index f317f507..186cdde0 100644 --- a/Philips.CodeAnalysis.MoqAnalyzers/Philips.CodeAnalysis.MoqAnalyzers.csproj +++ b/Philips.CodeAnalysis.MoqAnalyzers/Philips.CodeAnalysis.MoqAnalyzers.csproj @@ -3,10 +3,7 @@ - net8.0;netstandard2.0 - - - + net8.0;netstandard2.0;net10.0 Roslyn Diagnostic Analyzers for Unit Testing with Moq CSharp MsTest Roslyn CodeAnalysis analyzers moq Philips From 667a95d85b94df5c6b8e4a84147af01e8efe6b65 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 20:16:33 +0530 Subject: [PATCH 07/20] Add net10.0 to TargetFrameworks in MsTestAnalyzers.csproj 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. --- .../Philips.CodeAnalysis.MsTestAnalyzers.csproj | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Philips.CodeAnalysis.MsTestAnalyzers/Philips.CodeAnalysis.MsTestAnalyzers.csproj b/Philips.CodeAnalysis.MsTestAnalyzers/Philips.CodeAnalysis.MsTestAnalyzers.csproj index dd77a13c..7d256e20 100644 --- a/Philips.CodeAnalysis.MsTestAnalyzers/Philips.CodeAnalysis.MsTestAnalyzers.csproj +++ b/Philips.CodeAnalysis.MsTestAnalyzers/Philips.CodeAnalysis.MsTestAnalyzers.csproj @@ -3,10 +3,7 @@ - net8.0;netstandard2.0 - - - + net8.0;netstandard2.0;net10.0 Roslyn Diagnostic Analyzers for Unit Testing with MsTest CSharp MsTest Roslyn CodeAnalysis analyzers Philips From e5c21ff16752654ac971ed142b987fab4882b4f2 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 20:17:09 +0530 Subject: [PATCH 08/20] Update target framework to net10.0 in .csproj file 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. --- .../Philips.CodeAnalysis.AnalyzerPerformance.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Philips.CodeAnalysis.AnalyzerPerformance/Philips.CodeAnalysis.AnalyzerPerformance.csproj b/Philips.CodeAnalysis.AnalyzerPerformance/Philips.CodeAnalysis.AnalyzerPerformance.csproj index d7dc2b77..f9bdd165 100644 --- a/Philips.CodeAnalysis.AnalyzerPerformance/Philips.CodeAnalysis.AnalyzerPerformance.csproj +++ b/Philips.CodeAnalysis.AnalyzerPerformance/Philips.CodeAnalysis.AnalyzerPerformance.csproj @@ -3,7 +3,7 @@ Exe - net8.0 + net10.0 enable 1.0.3.0 true From 9fb29b85a19538ac1224df30feae264e7363e4b0 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 20:17:44 +0530 Subject: [PATCH 09/20] Update target framework to net10.0 in Benchmark.csproj 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. --- .../Philips.CodeAnalysis.Benchmark.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Philips.CodeAnalysis.Benchmark/Philips.CodeAnalysis.Benchmark.csproj b/Philips.CodeAnalysis.Benchmark/Philips.CodeAnalysis.Benchmark.csproj index 9a726890..6273bcc6 100644 --- a/Philips.CodeAnalysis.Benchmark/Philips.CodeAnalysis.Benchmark.csproj +++ b/Philips.CodeAnalysis.Benchmark/Philips.CodeAnalysis.Benchmark.csproj @@ -3,7 +3,7 @@ Exe - net8.0 + net10.0 1.0.3.0 true From af3bdff8fd579fd9049602e650388b92ca8f9244 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 20:18:20 +0530 Subject: [PATCH 10/20] Update target framework to net10.0 in Test.csproj 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. --- Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj b/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj index 9b574bf5..c0cae5b2 100644 --- a/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj +++ b/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj @@ -2,7 +2,7 @@ - net8.0 + net10.0 true 1.0.0 1.0.0 From 583ca6ec889ca1dbd96b27d152b3bbd2a7ddea28 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 20:21:29 +0530 Subject: [PATCH 11/20] Ensure .NET 10 is installed to build --- .github/workflows/dotnetcore.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 822abd07..91425d96 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -18,6 +18,7 @@ jobs: with: dotnet-version: | 8.0.x + 10.0.x - name: Set version if: ${{ inputs.new_tag }} From 700d47391266991b60b0b0f0174570b5730c10fa Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 20:24:27 +0530 Subject: [PATCH 12/20] fix: update workflows with .NET 10 dependency --- .github/workflows/format.yml | 4 +++- .github/workflows/performance.yml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 9321f500..3ca39373 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -12,7 +12,9 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # @v5.0.0 with: - dotnet-version: 8.0.* + dotnet-version: | + 8.0.x + 10.0.x - name: Restore run: dotnet restore diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index f81c0db6..ddfb9777 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -13,6 +13,7 @@ jobs: with: dotnet-version: | 8.0.x + 10.0.x - name: Build Dogfood run: | From 557ecbcd3892240a969a187f0d8dc7d4f625f260 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 20:31:48 +0530 Subject: [PATCH 13/20] fix: update nugget versions appropriately --- .../Philips.CodeAnalysis.AnalyzerPerformance.csproj | 2 +- .../Philips.CodeAnalysis.Benchmark.csproj | 2 +- .../Philips.CodeAnalysis.Common.csproj | 2 +- Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Philips.CodeAnalysis.AnalyzerPerformance/Philips.CodeAnalysis.AnalyzerPerformance.csproj b/Philips.CodeAnalysis.AnalyzerPerformance/Philips.CodeAnalysis.AnalyzerPerformance.csproj index f9bdd165..f8e1069a 100644 --- a/Philips.CodeAnalysis.AnalyzerPerformance/Philips.CodeAnalysis.AnalyzerPerformance.csproj +++ b/Philips.CodeAnalysis.AnalyzerPerformance/Philips.CodeAnalysis.AnalyzerPerformance.csproj @@ -5,7 +5,7 @@ Exe net10.0 enable - 1.0.3.0 + 2.0.0.0 true diff --git a/Philips.CodeAnalysis.Benchmark/Philips.CodeAnalysis.Benchmark.csproj b/Philips.CodeAnalysis.Benchmark/Philips.CodeAnalysis.Benchmark.csproj index 6273bcc6..a9eb4f18 100644 --- a/Philips.CodeAnalysis.Benchmark/Philips.CodeAnalysis.Benchmark.csproj +++ b/Philips.CodeAnalysis.Benchmark/Philips.CodeAnalysis.Benchmark.csproj @@ -4,7 +4,7 @@ Exe net10.0 - 1.0.3.0 + 2.0.0.0 true diff --git a/Philips.CodeAnalysis.Common/Philips.CodeAnalysis.Common.csproj b/Philips.CodeAnalysis.Common/Philips.CodeAnalysis.Common.csproj index 34ebfd14..51300752 100644 --- a/Philips.CodeAnalysis.Common/Philips.CodeAnalysis.Common.csproj +++ b/Philips.CodeAnalysis.Common/Philips.CodeAnalysis.Common.csproj @@ -4,7 +4,7 @@ net8.0;netstandard2.0;net10.0 true - 1.0.3.0 + 1.0.4.0 diff --git a/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj b/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj index c0cae5b2..d9ff6094 100644 --- a/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj +++ b/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj @@ -4,9 +4,9 @@ net10.0 true - 1.0.0 - 1.0.0 - 1.0.3.0 + 2.0.0 + 2.0.0 + 2.0.0.0 From 0e319912d20e6f8c9b22e21a9c9ceb4134b645dd Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 21:40:53 +0530 Subject: [PATCH 14/20] fix: update assembly version and install .NET 10 for dogfood build --- .github/workflows/dogfood.yml | 1 + Philips.CodeAnalysis.Common/Philips.CodeAnalysis.Common.csproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dogfood.yml b/.github/workflows/dogfood.yml index fbae3406..9f73f586 100644 --- a/.github/workflows/dogfood.yml +++ b/.github/workflows/dogfood.yml @@ -15,6 +15,7 @@ jobs: with: dotnet-version: | 8.0.x + 10.0.x - name: Build the Dogfood run: | diff --git a/Philips.CodeAnalysis.Common/Philips.CodeAnalysis.Common.csproj b/Philips.CodeAnalysis.Common/Philips.CodeAnalysis.Common.csproj index 51300752..34ebfd14 100644 --- a/Philips.CodeAnalysis.Common/Philips.CodeAnalysis.Common.csproj +++ b/Philips.CodeAnalysis.Common/Philips.CodeAnalysis.Common.csproj @@ -4,7 +4,7 @@ net8.0;netstandard2.0;net10.0 true - 1.0.4.0 + 1.0.3.0 From 66e4ab3f7eadb4bf0fd572fc5b8562f6e23c3e48 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 21:43:59 +0530 Subject: [PATCH 15/20] fix: update build reference for performance analysis CI --- .github/workflows/performance.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index ddfb9777..28a725e2 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -111,7 +111,7 @@ jobs: - name: Analyze Performance run: | - ./Philips.CodeAnalysis.AnalyzerPerformance/bin/Release/net8.0/Philips.CodeAnalysis.AnalyzerPerformance msbuild.binlog Philips.CodeAnalysis >> PerformanceSummary.txt + ./Philips.CodeAnalysis.AnalyzerPerformance/bin/Release/net10.0/Philips.CodeAnalysis.AnalyzerPerformance msbuild.binlog Philips.CodeAnalysis >> PerformanceSummary.txt cat ./PerformanceSummary.txt cat ./PerformanceSummary.txt >> $GITHUB_STEP_SUMMARY From 6d39199708161747f3da562568b16c445e79e161 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 21:49:04 +0530 Subject: [PATCH 16/20] fix: update .NET SDK reference --- Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj b/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj index d9ff6094..3b8956e5 100644 --- a/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj +++ b/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj @@ -2,7 +2,7 @@ - net10.0 + net8.0;net10.0 true 2.0.0 2.0.0 From 588814678b84d702dc1eb5a9493a301f8d9d6221 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 21:52:51 +0530 Subject: [PATCH 17/20] fix: update assembly version --- Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj b/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj index 3b8956e5..9852c22d 100644 --- a/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj +++ b/Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj @@ -4,9 +4,9 @@ net8.0;net10.0 true - 2.0.0 - 2.0.0 - 2.0.0.0 + 1.0.3 + 1.0.3.0 + 1.0.3.0 From 8a1b8c178fc06c912976f2fe6b53d904ffe645d4 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 22:35:27 +0530 Subject: [PATCH 18/20] fix: update dotnet reference mapping --- .../Philips.CodeAnalysis.Benchmark.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Philips.CodeAnalysis.Benchmark/Philips.CodeAnalysis.Benchmark.csproj b/Philips.CodeAnalysis.Benchmark/Philips.CodeAnalysis.Benchmark.csproj index a9eb4f18..fa31b2d6 100644 --- a/Philips.CodeAnalysis.Benchmark/Philips.CodeAnalysis.Benchmark.csproj +++ b/Philips.CodeAnalysis.Benchmark/Philips.CodeAnalysis.Benchmark.csproj @@ -3,8 +3,8 @@ Exe - net10.0 - 2.0.0.0 + net8.0;net10.0 + 1.0.3.0 true From 2327e5b863bf45beb9725ade8bf94d265e82f47d Mon Sep 17 00:00:00 2001 From: AravindHU Date: Tue, 13 Jan 2026 22:38:36 +0530 Subject: [PATCH 19/20] fix: update dotnet reference mapping --- .../Philips.CodeAnalysis.AnalyzerPerformance.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Philips.CodeAnalysis.AnalyzerPerformance/Philips.CodeAnalysis.AnalyzerPerformance.csproj b/Philips.CodeAnalysis.AnalyzerPerformance/Philips.CodeAnalysis.AnalyzerPerformance.csproj index f8e1069a..89908af4 100644 --- a/Philips.CodeAnalysis.AnalyzerPerformance/Philips.CodeAnalysis.AnalyzerPerformance.csproj +++ b/Philips.CodeAnalysis.AnalyzerPerformance/Philips.CodeAnalysis.AnalyzerPerformance.csproj @@ -3,9 +3,9 @@ Exe - net10.0 + net8.0;net10.0 enable - 2.0.0.0 + 1.0.3.0 true From 7cec46cef3d44794683619d563fece06f4d71296 Mon Sep 17 00:00:00 2001 From: AravindHU Date: Wed, 14 Jan 2026 12:09:37 +0530 Subject: [PATCH 20/20] fix: remove unwanted files --- .github/upgrades/dotnet-upgrade-plan.md | 70 ------------------------- 1 file changed, 70 deletions(-) delete mode 100644 .github/upgrades/dotnet-upgrade-plan.md diff --git a/.github/upgrades/dotnet-upgrade-plan.md b/.github/upgrades/dotnet-upgrade-plan.md deleted file mode 100644 index b1b8ab84..00000000 --- a/.github/upgrades/dotnet-upgrade-plan.md +++ /dev/null @@ -1,70 +0,0 @@ -# .NET 10.0 Upgrade Plan - -## Execution Steps - -Execute steps below sequentially one by one in the order they are listed. - -1. Validate that a .NET 10.0 SDK required for this upgrade is installed on the machine and if not, help to get it installed. -2. Ensure that the SDK version specified in global.json files is compatible with the .NET 10.0 upgrade. -3. Upgrade Philips.CodeAnalysis.Common\Philips.CodeAnalysis.Common.csproj -4. Upgrade Philips.CodeAnalysis.DuplicateCodeAnalyzer\Philips.CodeAnalysis.DuplicateCodeAnalyzer.csproj -5. Upgrade Philips.CodeAnalysis.SecurityAnalyzers\Philips.CodeAnalysis.SecurityAnalyzers.csproj -6. Upgrade Philips.CodeAnalysis.MaintainabilityAnalyzers\Philips.CodeAnalysis.MaintainabilityAnalyzers.csproj -7. Upgrade Philips.CodeAnalysis.MoqAnalyzers\Philips.CodeAnalysis.MoqAnalyzers.csproj -8. Upgrade Philips.CodeAnalysis.MsTestAnalyzers\Philips.CodeAnalysis.MsTestAnalyzers.csproj -9. Upgrade Philips.CodeAnalysis.AnalyzerPerformance\Philips.CodeAnalysis.AnalyzerPerformance.csproj -10. Upgrade Philips.CodeAnalysis.Benchmark\Philips.CodeAnalysis.Benchmark.csproj -11. Upgrade Philips.CodeAnalysis.Test\Philips.CodeAnalysis.Test.csproj - -## Settings - -This section contains settings and data used by execution steps. - -### Project upgrade details - -This section contains details about each project upgrade and modifications that need to be done in the project. - -#### Philips.CodeAnalysis.Common\Philips.CodeAnalysis.Common.csproj modifications - -Project properties changes: - - Target frameworks should be changed from `net8.0;netstandard2.0` to `net8.0;netstandard2.0;net10.0` - -#### Philips.CodeAnalysis.DuplicateCodeAnalyzer\Philips.CodeAnalysis.DuplicateCodeAnalyzer.csproj modifications - -Project properties changes: - - Target frameworks should be changed from `net8.0;netstandard2.0` to `net8.0;netstandard2.0;net10.0` - -#### Philips.CodeAnalysis.SecurityAnalyzers\Philips.CodeAnalysis.SecurityAnalyzers.csproj modifications - -Project properties changes: - - Target frameworks should be changed from `net8.0;netstandard2.0` to `net8.0;netstandard2.0;net10.0` - -#### Philips.CodeAnalysis.MaintainabilityAnalyzers\Philips.CodeAnalysis.MaintainabilityAnalyzers.csproj modifications - -Project properties changes: - - Target frameworks should be changed from `net8.0;netstandard2.0` to `net8.0;netstandard2.0;net10.0` - -#### Philips.CodeAnalysis.MoqAnalyzers\Philips.CodeAnalysis.MoqAnalyzers.csproj modifications - -Project properties changes: - - Target frameworks should be changed from `net8.0;netstandard2.0` to `net8.0;netstandard2.0;net10.0` - -#### Philips.CodeAnalysis.MsTestAnalyzers\Philips.CodeAnalysis.MsTestAnalyzers.csproj modifications - -Project properties changes: - - Target frameworks should be changed from `net8.0;netstandard2.0` to `net8.0;netstandard2.0;net10.0` - -#### Philips.CodeAnalysis.AnalyzerPerformance\Philips.CodeAnalysis.AnalyzerPerformance.csproj modifications - -Project properties changes: - - Target framework should be changed from `net8.0` to `net10.0` - -#### Philips.CodeAnalysis.Benchmark\Philips.CodeAnalysis.Benchmark.csproj modifications - -Project properties changes: - - Target framework should be changed from `net8.0` to `net10.0` - -#### Philips.CodeAnalysis.Test\Philips.CodeAnalysis.Test.csproj modifications - -Project properties changes: - - Target framework should be changed from `net8.0` to `net10.0`