Skip to content

Commit

Permalink
Move to .NET 8
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilien Noal <noal.maximilien@gmail.com>
  • Loading branch information
maximilien-noal committed Nov 16, 2023
1 parent 44af0d0 commit 894147c
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
dotnet-version: '8.0.x'

- name: Install zip
uses: montudor/action-zip@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
dotnet-version: '8.0.x'

- name: Test with dotnet
working-directory: ./src
Expand Down
2 changes: 1 addition & 1 deletion src/Bufdio.Spice86/Bufdio.Spice86.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<RootNamespace>Bufdio.Spice86</RootNamespace>
<Copyright>Luthfi Tri Atmaja</Copyright>
<Description>Only for Spice86 usage. A cross platform audio playback library for .NET based on PortAudio, forked from the original Bufdio by Luthfi Tri Atmaja.</Description>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<WarningsAsErrors>nullable</WarningsAsErrors>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Spice86.Core/Spice86.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<WarningsAsErrors>nullable</WarningsAsErrors>
Expand Down
2 changes: 1 addition & 1 deletion src/Spice86.Logging/Spice86.Logging.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<WarningsAsErrors>Nullable</WarningsAsErrors>
Expand Down
2 changes: 1 addition & 1 deletion src/Spice86.Shared/Spice86.Shared.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<WarningsAsErrors>Nullable</WarningsAsErrors>
Expand Down
5 changes: 2 additions & 3 deletions src/Spice86/Spice86.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<WarningsAsErrors>nullable</WarningsAsErrors>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down Expand Up @@ -30,7 +30,7 @@
</PropertyGroup>
<ItemGroup>
<Content Include="libportaudio.dll">
<PackagePath>lib\net7.0\libportaudio.dll</PackagePath>
<PackagePath>lib\net8.0\libportaudio.dll</PackagePath>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Pack>True</Pack>
</Content>
Expand All @@ -57,7 +57,6 @@
<PackageReference Include="Iced" Version="1.20.0" />
<PackageReference Include="Semi.Avalonia" Version="11.0.1" />
<PackageReference Include="bodong.Avalonia.PropertyGrid" Version="11.0.4.1" />
<PackageReference Include="bodong.PropertyModels" Version="11.0.4.1" />
<PackageReference Include="Pure.DI" Version="2.0.23" />
<PackageReference Include="Ben.Demystifier" Version="0.4.1" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
Expand Down
2 changes: 1 addition & 1 deletion tests/Spice86.Tests/Spice86.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<WarningsAsErrors>nullable</WarningsAsErrors>
Expand Down

0 comments on commit 894147c

Please sign in to comment.