Skip to content

Commit 482cd10

Browse files
harisboticPeter Nagy
andauthored
Use .NET 8 for all platforms (#93)
* Change .NET version to .NET 8 for all platforms * Update constructor12 -> constructor 14 for DateTimes because in .net 8 there were some changes to constructor signitures causing a shift * Satisfy the new requirements for delegate when using Marshal.GetFunctionPointerForDelegate * Improve build scripts --------- Co-authored-by: Peter Nagy <[email protected]>
1 parent 32671fd commit 482cd10

File tree

39 files changed

+166
-165
lines changed

39 files changed

+166
-165
lines changed

src/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#ignore stored data directories from the test runs
55

66
builds/**/**/build-result
7+
builds/**/**/dotnet-install.sh
78

89
# Native stuff
910
#PythonClient/lib/quixstreaming/native

src/CsharpClient/QuixStreams.ManyStreamTest/QuixStreams.ManyStreamTest.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>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<Configurations>Debug;Release;Python</Configurations>
77
<Platforms>AnyCPU</Platforms>
88
</PropertyGroup>

src/CsharpClient/QuixStreams.PerformanceTest/QuixStreams.PerformanceTest.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>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<Configurations>Debug;Release;Python</Configurations>
77
<Platforms>AnyCPU</Platforms>
88
</PropertyGroup>

src/CsharpClient/QuixStreams.Speedtest/QuixStreams.Speedtest.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>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<Configurations>Debug;Release;Python</Configurations>
77
<Platforms>AnyCPU</Platforms>
88
</PropertyGroup>

src/CsharpClient/QuixStreams.State.UnitTests/QuixStreams.State.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<Configurations>Debug;Release;Python</Configurations>
77
<Platforms>AnyCPU</Platforms>

src/CsharpClient/QuixStreams.State/QuixStreams.State.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Configurations>Debug;Release;Python</Configurations>
66
<Platforms>AnyCPU</Platforms>
77
<LangVersion>8.0</LangVersion>
8-
<TargetFrameworks>net7.0;netstandard2.0</TargetFrameworks>
8+
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
99
</PropertyGroup>
1010

1111
<PropertyGroup>
@@ -33,7 +33,7 @@
3333
</ItemGroup>
3434

3535
<ItemGroup>
36-
<PackageReference Include="System.Collections.Immutable" Version="1.7.0" />
36+
<PackageReference Include="System.Collections.Immutable" Version="7.0.0" />
3737
</ItemGroup>
3838

3939
<ItemGroup>

src/CsharpClient/QuixStreams.Streaming.IntegrationTests/QuixStreams.Streaming.IntegrationTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<Configurations>Debug;Release;Python</Configurations>
77
<Platforms>AnyCPU</Platforms>

src/CsharpClient/QuixStreams.Streaming.Samples/QuixStreams.Streaming.Samples.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>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<Configurations>Debug;Release;Python</Configurations>
77
<Platforms>AnyCPU</Platforms>
88
</PropertyGroup>

src/CsharpClient/QuixStreams.Streaming.UnitTests/QuixStreams.Streaming.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<Configurations>Debug;Release;Python</Configurations>
77
<Platforms>AnyCPU</Platforms>

src/CsharpClient/QuixStreams.Streaming/QuixStreams.Streaming.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Configurations>Debug;Release;Python</Configurations>
66
<Platforms>AnyCPU</Platforms>
77
<LangVersion>8.0</LangVersion>
8-
<TargetFrameworks>net7.0;netstandard2.0</TargetFrameworks>
8+
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
99
</PropertyGroup>
1010

1111
<PropertyGroup>
@@ -48,9 +48,9 @@
4848

4949
<ItemGroup>
5050
<PackageReference Include="Mono.Posix" Version="7.1.0-final.1.21458.1" />
51-
<PackageReference Include="System.Collections.Immutable" Version="1.7.0" />
51+
<PackageReference Include="System.Collections.Immutable" Version="7.0.0" />
5252
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.12.2" />
53-
<PackageReference Include="System.Runtime.Caching" Version="5.0.0" />
53+
<PackageReference Include="System.Runtime.Caching" Version="7.0.0" />
5454
</ItemGroup>
5555

5656
<ItemGroup>

0 commit comments

Comments
 (0)