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

Upgrade to .NET 8 #143

Merged
merged 43 commits into from
Nov 14, 2023
Merged

Upgrade to .NET 8 #143

merged 43 commits into from
Nov 14, 2023

Conversation

samsmithnz
Copy link
Owner

@samsmithnz samsmithnz commented Nov 14, 2023

This pull request to DotNetCensus updates the support status of various .NET versions, adds a new .NET version, and increases the total number of frameworks. It also updates the project to use .NET 8.0 framework, updates the System.Text.Json version to 8.0.0, and adds a new console application written in .NET 9.0. Additionally, it updates the test project file, workflow files, and GitVersion configuration file to reflect the changes.

Main interface changes:

  • src/DotNetCensus.Tests/DirectoryDataAccessTests.cs: Updates the support status of various .NET versions, adds a new .NET version, and increases the total number of frameworks. (Faecf684)
  • src/DotNetCensus.Tests/RepoDataAccessTests.cs: Updates the target framework of two projects from .NET 7.0 to .NET 8.0, updates the support status of two projects from "in preview" to "supported", and adds support for a new .NET version. [1] [2] [3]
  • src/DotNetCensus.Tests/SampleDataUnitTests.cs: Updates the expected counts of programming languages and frameworks. [1] [2] [3] [4]
  • src/DotNetCensus.Tests/ConsoleAppRepoTests.cs: Increases expected number of results in AggregateSampleFrameworksNoTotalTest() test.
  • src/DotNetCensus/DotNetCensus.csproj: Updates the project to use .NET 8.0 framework and updates the System.Text.Json version to 8.0.0. [1] [2]
  • src/DotNetCensus.Core/DotNetCensus.Core.csproj: Updates ConsoleTables package version and adds .NET 8.0 framework to the project. [1] [2]
  • samples/Sample.Net9.ConsoleApp/Program.cs: Adds a new console application written in .NET 9.0.
  • samples/Sample.Net9.ConsoleApp/Sample.Net9.ConsoleApp.csproj: Adds support for .NET 9.0 in the sample console app project file.

Configuration improvements:

  • src/DotNetCensus.Tests/DotNetCensus.Tests.csproj: Updates the .NET version and the Microsoft.NET.Test.Sdk version in the test project file. [1] [2]
  • .github/workflows/workflow.yml: Updates the .NET version from 7.0 to 8.0 in the workflow files. [1] [2]
  • GitVersion.yml: Updates GitVersion configuration file to use version 1.7.0 instead of 1.6.0.
  • .github/workflows/codeql-analysis.yml: Updates .NET version from 7.0 to 8.0 in the CodeQL analysis workflow file.
  • src/DotNetCensus.Core/Projects/ProjectClassification.cs: Adds support for .NET 7.0 and 9.0 frameworks and marks .NET 7.0 as end-of-life on May 14, 2024. [1] [2]
  • README.md: Updates the support status of a .NET version, with Sample.Net7.ConsoleApp.csproj now marked as EOL and two new .NET versions added.

@samsmithnz samsmithnz changed the title Upgrade to dot net8 Upgrade to .NET 8 Nov 14, 2023
@samsmithnz samsmithnz merged commit d13ce29 into main Nov 14, 2023
6 checks passed
@samsmithnz samsmithnz deleted the UpgradeToDotNet8 branch November 14, 2023 22:53
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.

1 participant