Skip to content

Commit e3c0e19

Browse files
committed
Bump .NET to 8.0
1 parent 700ab50 commit e3c0e19

File tree

91 files changed

+99
-109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+99
-109
lines changed

README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,6 @@ expressions. Server-side computations can be expressed in lambda expressions,
1818
embedded in LIKQ, and executed on the Graph Engine servers during graph
1919
traversal.
2020

21-
## Recent changes
22-
23-
The main version number is bumped to 3.0 to reflect the recent toolchain updates.
24-
- .NET 7.0 is now the mainly supported target framework
25-
- Visual Studio 2022 is supported
26-
27-
One goal of Graph Engine 3.0 is to bring the system up to date and make it
28-
slimmer. Some obsolete or outdated modules and tools have been moved to the
29-
[Unsupported](src/Modules/Unsupported) directory and removed from the main build pipeline.
30-
3121
## Getting started
3222

3323
Recommended operating system: Windows 10 or Ubuntu 22.04.
@@ -51,8 +41,8 @@ Install g++, cmake, and libssl-dev. For example, on Ubuntu, simply run
5141
sudo apt update && sudo apt install g++ cmake libssl-dev
5242
```
5343

54-
Install [.NET SDK x64 7.0][dotnet-on-linux]. For example, on Ubuntu 22.04, run
55-
`sudo apt update && sudo apt install -y dotnet-sdk-7.0`.
44+
Install [.NET SDK x64 8.0][dotnet-on-linux]. For example, on Ubuntu 22.04, run
45+
`sudo apt update && sudo apt install -y dotnet-sdk-8.0`.
5646
Then, build GraphEngine with the following command:
5747

5848
```shell

azure-pipelines-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ steps:
2828
- task: UseDotNet@2
2929
inputs:
3030
packageType: 'sdk'
31-
version: '7.0.x'
31+
version: '8.0.x'
3232
includePreviewVersions: false
33-
displayName: 'Use .NET 7.0 SDK'
33+
displayName: 'Use .NET 8.0 SDK'
3434

3535
- script: |
3636
lsb_release -a

cmake/FindDotnet.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ FUNCTION(DOTNET_GET_DEPS _DN_PROJECT arguments)
262262
ENDIF()
263263

264264
IF(_DN_NETCOREAPP)
265-
SET(_DN_BUILD_OPTIONS -f net7.0)
266-
SET(_DN_PACK_OPTIONS /p:TargetFrameworks=net7.0)
265+
SET(_DN_BUILD_OPTIONS -f net8.0)
266+
SET(_DN_PACK_OPTIONS /p:TargetFrameworks=net8.0)
267267
ELSEIF(UNIX)
268268
# Unix builds default to netstandard2.0
269269
SET(_DN_BUILD_OPTIONS -f netstandard2.0)
@@ -386,7 +386,7 @@ FUNCTION(RUN_DOTNET DOTNET_PROJECT)
386386
COMMAND ${DOTNET_EXE} clean ${DOTNET_PROJPATH} ${DOTNET_BUILD_PROPERTIES}
387387
COMMAND ${DOTNET_EXE} build --no-restore ${DOTNET_PROJPATH} -c ${DOTNET_CONFIG} ${DOTNET_BUILD_PROPERTIES} ${DOTNET_BUILD_OPTIONS}
388388
# XXX tfm
389-
COMMAND ${DOTNET_EXE} ${DOTNET_OUTPUT_PATH}/net7.0/${DOTNET_PROJNAME}.dll ${DOTNET_ARGUMENTS}
389+
COMMAND ${DOTNET_EXE} ${DOTNET_OUTPUT_PATH}/net8.0/${DOTNET_PROJNAME}.dll ${DOTNET_ARGUMENTS}
390390
COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/${DOTNET_PROJNAME}.runtimestamp
391391
WORKING_DIRECTORY ${DOTNET_OUTPUT_PATH})
392392
ADD_CUSTOM_TARGET(
@@ -401,7 +401,7 @@ FUNCTION(TEST_DOTNET DOTNET_PROJECT)
401401
IF(WIN32)
402402
SET(test_framework_args "")
403403
ELSE()
404-
SET(test_framework_args -f net7.0)
404+
SET(test_framework_args -f net8.0)
405405
ENDIF()
406406

407407
ADD_TEST(NAME ${DOTNET_PROJNAME}

lib/Trinity.TSL.CodeGen.exe

-21 KB
Binary file not shown.

lib/Trinity.dll

-14.5 KB
Binary file not shown.

lib/Trinity.lib

0 Bytes
Binary file not shown.

samples/DistributedHashtable/DistributedHashtable.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
</PropertyGroup>
77

88
<ItemGroup>

samples/Friends/Friends.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
</PropertyGroup>
77

88
<ItemGroup>

samples/GraphGenerator/GraphGenerator.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
</PropertyGroup>
77

88
<ItemGroup>

samples/Ping/Ping.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
</PropertyGroup>
77

88
<ItemGroup>

0 commit comments

Comments
 (0)