Skip to content

Commit

Permalink
Move to .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
prezaei committed Sep 25, 2024
1 parent 4090324 commit 46ff224
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 17 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
6.0.x
7.0.x
8.0.x
- name: Build - Release
run: dotnet build -c Release src/Interprocess.sln
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
6.0.x
7.0.x
8.0.x
- name: Build - Debug
run: dotnet build src/Interprocess.sln
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The NuGet package for this library is published [here][NuGet].
## Usage

This library supports .NET Core 3.1+ and .NET 6+. It is optimized for .NET dependency injection but can also be used without DI.
This library supports .NET 8.0+. It is optimized for .NET dependency injection but can also be used without DI.

### Usage without DI

Expand Down
3 changes: 1 addition & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@

<!-- Build Settings -->
<PropertyGroup>
<TargetFrameworks>net7.0;net6.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<LangVersion>11.0</LangVersion>
</PropertyGroup>

<!-- Versions -->
Expand Down
2 changes: 1 addition & 1 deletion src/Interprocess.Benchmark/Interprocess.Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.*" />
<PackageReference Include="BenchmarkDotNet" Version="0.14.*" />
</ItemGroup>

<ItemGroup>
Expand Down
12 changes: 6 additions & 6 deletions src/Interprocess.Tests/Interprocess.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.*" />
<PackageReference Include="FluentAssertions" Version="6.8.*" />
<PackageReference Include="NSubstitute" Version="4.4.*" />
<PackageReference Include="xunit" Version="2.4.*" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.*" />
<PackageReference Include="coverlet.collector" Version="3.2.*" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.*" />
<PackageReference Include="FluentAssertions" Version="6.12.*" />
<PackageReference Include="NSubstitute" Version="5.1.*" />
<PackageReference Include="xunit" Version="2.9.*" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.*" />
<PackageReference Include="coverlet.collector" Version="6.0.*" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Interprocess/Interprocess.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<PackageTags>interprocess;interprocess-communication;ipc;shared-memory-communication;shared-memory-queue;shared-memory;memory-mapped-file;queue;cross-process-communication;cross-process</PackageTags>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<VersionSuffix Condition=" '$(VersionSuffix)'=='' ">0</VersionSuffix>
<PackageVersion>2.0.0-alpha$(VersionSuffix)</PackageVersion>
<PackageVersion>2.0.$(VersionSuffix)</PackageVersion>
</PropertyGroup>

</Project>

0 comments on commit 46ff224

Please sign in to comment.