Skip to content
Open
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
d68040a
Commit upgrade plan
aravind666 Jan 13, 2026
354bd48
Add net10.0 to TargetFrameworks in Philips.CodeAnalysis.Common.csproj
aravind666 Jan 13, 2026
176ddb2
Add net10.0 to TargetFrameworks in .csproj file
aravind666 Jan 13, 2026
10349db
Add net10.0 to target frameworks in .csproj file
aravind666 Jan 13, 2026
9be2bd7
Update target frameworks in MaintainabilityAnalyzers.csproj
aravind666 Jan 13, 2026
486638a
Add net10.0 to target frameworks in MoqAnalyzers.csproj
aravind666 Jan 13, 2026
667a95d
Add net10.0 to TargetFrameworks in MsTestAnalyzers.csproj
aravind666 Jan 13, 2026
e5c21ff
Update target framework to net10.0 in .csproj file
aravind666 Jan 13, 2026
9fb29b8
Update target framework to net10.0 in Benchmark.csproj
aravind666 Jan 13, 2026
af3bdff
Update target framework to net10.0 in Test.csproj
aravind666 Jan 13, 2026
583ca6e
Ensure .NET 10 is installed to build
aravind666 Jan 13, 2026
700d473
fix: update workflows with .NET 10 dependency
aravind666 Jan 13, 2026
557ecbc
fix: update nugget versions appropriately
aravind666 Jan 13, 2026
0e31991
fix: update assembly version and install .NET 10 for dogfood build
aravind666 Jan 13, 2026
66e4ab3
fix: update build reference for performance analysis CI
aravind666 Jan 13, 2026
6d39199
fix: update .NET SDK reference
aravind666 Jan 13, 2026
5888146
fix: update assembly version
aravind666 Jan 13, 2026
8a1b8c1
fix: update dotnet reference mapping
aravind666 Jan 13, 2026
2327e5b
fix: update dotnet reference mapping
aravind666 Jan 13, 2026
7cec46c
fix: remove unwanted files
aravind666 Jan 14, 2026
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
70 changes: 70 additions & 0 deletions .github/upgrades/dotnet-upgrade-plan.md
Original file line number Diff line number Diff line change
@@ -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`
1 change: 1 addition & 0 deletions .github/workflows/dogfood.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
with:
dotnet-version: |
8.0.x
10.0.x

- name: Build the Dogfood
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
dotnet-version: |
8.0.x
10.0.x

- name: Set version
if: ${{ inputs.new_tag }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
with:
dotnet-version: |
8.0.x
10.0.x

- name: Build Dogfood
run: |
Expand Down Expand Up @@ -110,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

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<AssemblyVersion>1.0.3.0</AssemblyVersion>
<SonarQubeExclude>true</SonarQubeExclude>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<AssemblyVersion>1.0.3.0</AssemblyVersion>
<SonarQubeExclude>true</SonarQubeExclude>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\Directory.Build.Common.props" />

<PropertyGroup>
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net8.0;netstandard2.0;net10.0</TargetFrameworks>
<ReportAnalyzer>true</ReportAnalyzer>
<AssemblyVersion>1.0.3.0</AssemblyVersion>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
<Import Project="..\Directory.Build.Analyzer.props" />

<PropertyGroup>
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
<TargetFrameworks>net8.0;netstandard2.0;net10.0</TargetFrameworks>
<Description>Detects Duplicate Code Shapes</Description>
<PackageTags>CSharp MsTest Roslyn CodeAnalysis analyzers cpd duplicate Philips</PackageTags>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
<Import Project="..\Directory.Build.Common.props" />
<Import Project="..\Directory.Build.Analyzer.props" />
<PropertyGroup>
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net8.0;netstandard2.0;net10.0</TargetFrameworks>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<PropertyGroup>
<Description>Roslyn Diagnostic Analyzers for helping maintainability or readability of C# code</Description>
<PackageTags>CSharp Maintainability Roslyn CodeAnalysis analyzers Philips</PackageTags>
<PackageReleaseNotes>Added PH2144: AvoidIncorrectForLoopCondition analyzer to detect backwards for-loop boundary check issues</PackageReleaseNotes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
<Import Project="..\Directory.Build.Analyzer.props" />

<PropertyGroup>
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
<TargetFrameworks>net8.0;netstandard2.0;net10.0</TargetFrameworks>
<Description>Roslyn Diagnostic Analyzers for Unit Testing with Moq</Description>
<PackageTags>CSharp MsTest Roslyn CodeAnalysis analyzers moq Philips</PackageTags>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
<Import Project="..\Directory.Build.Analyzer.props" />

<PropertyGroup>
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
<TargetFrameworks>net8.0;netstandard2.0;net10.0</TargetFrameworks>
<Description>Roslyn Diagnostic Analyzers for Unit Testing with MsTest</Description>
<PackageTags>CSharp MsTest Roslyn CodeAnalysis analyzers Philips</PackageTags>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
<Import Project="..\Directory.Build.Analyzer.props" />

<PropertyGroup>
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
<TargetFrameworks>net8.0;netstandard2.0;net10.0</TargetFrameworks>
<Description>Roslyn Diagnostic Analyzers for potential security findings</Description>
<PackageTags>CSharp Security Roslyn CodeAnalysis analyzers Philips</PackageTags>
</PropertyGroup>
Expand Down
6 changes: 3 additions & 3 deletions Philips.CodeAnalysis.Test/Philips.CodeAnalysis.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<Import Project="..\Directory.Build.Common.props" />

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<ReportAnalyzer>true</ReportAnalyzer>
<Version>1.0.0</Version>
<FileVersion>1.0.0</FileVersion>
<Version>1.0.3</Version>
<FileVersion>1.0.3.0</FileVersion>
<AssemblyVersion>1.0.3.0</AssemblyVersion>
</PropertyGroup>

Expand Down
Loading