Skip to content

Commit 697bb4e

Browse files
committed
bump to .net 8
1 parent 7efa079 commit 697bb4e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
dotnet-version: [ '7.0.x' ]
16+
dotnet-version: [ '8.0.x' ]
1717
rid: ['win-x64', 'win-x86', 'linux-x64', 'linux-arm64', 'osx-x64', 'osx-arm64']
1818

1919
steps:

XvdTool.Streaming/KeyManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public void Save(string path)
303303
using var fileStream = File.OpenWrite(path);
304304

305305
var buffer = (stackalloc byte[Size]);
306-
MemoryMarshal.Write(buffer, ref this);
306+
MemoryMarshal.Write(buffer, in this);
307307

308308
fileStream.Write(buffer);
309309
}

XvdTool.Streaming/XvdTool.Streaming.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<LangVersion>preview</LangVersion>

0 commit comments

Comments
 (0)