Skip to content

Commit 821f492

Browse files
authored
Migrate to .NET 8 (#426)
1 parent 915e364 commit 821f492

File tree

8 files changed

+26
-7
lines changed

8 files changed

+26
-7
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup .NET SDK
1313
uses: actions/setup-dotnet@v3
1414
with:
15-
dotnet-version: 6.x
15+
dotnet-version: 8.x
1616
- name: Restore
1717
run: dotnet restore
1818
- name: Build

Algorithms.Tests/Algorithms.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<CodeAnalysisRuleSet>..\stylecop.ruleset</CodeAnalysisRuleSet>
77
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

Algorithms/Algorithms.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<CodeAnalysisRuleSet>..\stylecop.ruleset</CodeAnalysisRuleSet>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
<Nullable>enable</Nullable>

DataStructures.Tests/DataStructures.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<CodeAnalysisRuleSet>..\stylecop.ruleset</CodeAnalysisRuleSet>
77
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

DataStructures/DataStructures.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<CodeAnalysisRuleSet>..\stylecop.ruleset</CodeAnalysisRuleSet>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
<Nullable>enable</Nullable>

README.md

+19
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,25 @@ find more than one implementation for the same objective but using different alg
264264
* [Least Frequently Used (LFU) Cache](./DataStructures/Cache/LfuCache.cs)
265265
* [Least Recently Used (LRU) Cache](./DataStructures/Cache/LruCache.cs)
266266

267+
## Project Update: .NET 8 Migration
268+
269+
As part of our continuous effort to stay up-to-date with the latest technologies, we have migrated our project to .NET 8. This upgrade enhances our project with the latest features and improvements from the .NET ecosystem.
270+
271+
### New Requirements
272+
273+
* To build and run this project, **.NET 8 SDK** is now required.
274+
* Ensure your development tools are compatible with .NET 8.
275+
276+
### Building the Project
277+
278+
* With .NET 8 SDK installed, you can build the project using the standard `dotnet build` command.
279+
* All existing build scripts have been updated to accommodate the .NET 8 SDK.
280+
281+
### Running Tests
282+
283+
* Our comprehensive suite of unit tests ensures compatibility with .NET 8.
284+
* Run tests using the `dotnet test` command as usual.
285+
267286
## Contributing
268287

269288
You can contribute with pleasure to this repository.

Utilities.Tests/Utilities.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<CodeAnalysisRuleSet>..\stylecop.ruleset</CodeAnalysisRuleSet>
77
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

Utilities/Utilities.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<CodeAnalysisRuleSet>..\stylecop.ruleset</CodeAnalysisRuleSet>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
<Nullable>enable</Nullable>

0 commit comments

Comments
 (0)