diff --git a/.github/workflows/ci-dgraph-net-e2e-tests.yml b/.github/workflows/ci-dgraph-net-e2e-tests.yml index ed3edfe..a7b5fd4 100644 --- a/.github/workflows/ci-dgraph-net-e2e-tests.yml +++ b/.github/workflows/ci-dgraph-net-e2e-tests.yml @@ -25,12 +25,12 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - name: Setup .NET Core SDK 7.0.x - uses: actions/setup-dotnet@v3 + - name: Setup .NET Core SDK + uses: actions/setup-dotnet@v4 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Spin up Dgraph run: | diff --git a/.github/workflows/ci-dgraph-net-tests.yml b/.github/workflows/ci-dgraph-net-tests.yml index 8a57692..fd07472 100644 --- a/.github/workflows/ci-dgraph-net-tests.yml +++ b/.github/workflows/ci-dgraph-net-tests.yml @@ -21,12 +21,12 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout Dgraph.net - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - name: Setup .NET Core SDK 7.0.x - uses: actions/setup-dotnet@v3 + - name: Setup .NET Core SDK + uses: actions/setup-dotnet@v4 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Restore dependencies run: dotnet restore diff --git a/.vscode/launch.json b/.vscode/launch.json index 8bf451b..d3d2703 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,7 +10,7 @@ "request": "launch", "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/examples/DgraphExample/bin/Debug/net7.0/DgraphExample.dll", + "program": "${workspaceFolder}/examples/DgraphExample/bin/Debug/net8.0/DgraphExample.dll", "args": [], "cwd": "${workspaceFolder}/examples/DgraphExample", // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..69a42be --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,8 @@ + + + + net8.0 + latest + enable + + diff --git a/examples/DgraphExample/DgraphExample.csproj b/examples/DgraphExample/DgraphExample.csproj index 30e5ed3..fb35f6a 100644 --- a/examples/DgraphExample/DgraphExample.csproj +++ b/examples/DgraphExample/DgraphExample.csproj @@ -2,14 +2,9 @@ Exe - net7.0 - enable - - - diff --git a/source/Dgraph.tests.e2e/Dgraph.tests.e2e.csproj b/source/Dgraph.tests.e2e/Dgraph.tests.e2e.csproj index 90e67e3..37eca20 100644 --- a/source/Dgraph.tests.e2e/Dgraph.tests.e2e.csproj +++ b/source/Dgraph.tests.e2e/Dgraph.tests.e2e.csproj @@ -2,25 +2,21 @@ Exe - net7.0 - enable Dgraph.tests.e2e false - latest true - - - + + - - - - - + + + + + diff --git a/source/Dgraph.tests/Dgraph.tests.csproj b/source/Dgraph.tests/Dgraph.tests.csproj index 65cbf04..96ebc6d 100644 --- a/source/Dgraph.tests/Dgraph.tests.csproj +++ b/source/Dgraph.tests/Dgraph.tests.csproj @@ -1,21 +1,16 @@ - net7.0 - false true - latest - - + + - - - + diff --git a/source/Dgraph/Dgraph.csproj b/source/Dgraph/Dgraph.csproj index cbe3d94..f3e29f2 100644 --- a/source/Dgraph/Dgraph.csproj +++ b/source/Dgraph/Dgraph.csproj @@ -1,11 +1,7 @@ - net7.0 - enable - Dgraph - Dgraph Client for .NET Michael Compton, Ahmed El Bannan Dgraph Labs Inc @@ -23,10 +19,10 @@ - + - - + +