diff --git a/.github/workflows/JsBind.Net-Build.yml b/.github/workflows/JsBind.Net-Build.yml
index 606f041..e478ebf 100644
--- a/.github/workflows/JsBind.Net-Build.yml
+++ b/.github/workflows/JsBind.Net-Build.yml
@@ -36,7 +36,8 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
- dotnet-version: 6.0.x
+ dotnet-version: 7.0.x
+ include-prerelease: true
- name: Setup Chrome and Chrome Driver
uses: nanasess/setup-chromedriver@master
- name: Checkout
@@ -77,7 +78,7 @@ jobs:
run: |
.\.sonar\scanner\dotnet-sonarscanner begin /k:"JsBind.Net" /o:"mingyaulee" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /v:"v${{ needs.version.outputs.FullSemVer }}" /d:sonar.cs.vstest.reportsPaths="test/TestResults/*.trx" /d:sonar.cs.opencover.reportsPaths="test/TestResults/**/*.opencover.xml"
dotnet build --no-restore --configuration Release
- .\.coverlet\console\coverlet ./test/JsBind.Net.Tests/bin/Release/net6.0/wwwroot/_framework --include "[JsBind.Net*]*" --target "dotnet" --targetargs "test . --no-restore --no-build --configuration Release" --format opencover --output ./test/TestResults/coverage --verbosity detailed
+ .\.coverlet\console\coverlet ./test/JsBind.Net.Tests/bin/Release/net7.0/wwwroot/_framework --include "[JsBind.Net*]*" --target "dotnet" --targetargs "test . --no-restore --no-build --configuration Release" --format opencover --output ./test/TestResults/coverage --verbosity detailed
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
tag:
diff --git a/.github/workflows/JsBind.Net-Release.yml b/.github/workflows/JsBind.Net-Release.yml
index 48ecefd..7fb3248 100644
--- a/.github/workflows/JsBind.Net-Release.yml
+++ b/.github/workflows/JsBind.Net-Release.yml
@@ -15,7 +15,8 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
- dotnet-version: 6.0.x
+ dotnet-version: 7.0.x
+ include-prerelease: true
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0.9.11
with:
diff --git a/src/JsBind.Net.Extensions.DependencyInjection/JsBind.Net.Extensions.DependencyInjection.csproj b/src/JsBind.Net.Extensions.DependencyInjection/JsBind.Net.Extensions.DependencyInjection.csproj
index 565e109..4202837 100644
--- a/src/JsBind.Net.Extensions.DependencyInjection/JsBind.Net.Extensions.DependencyInjection.csproj
+++ b/src/JsBind.Net.Extensions.DependencyInjection/JsBind.Net.Extensions.DependencyInjection.csproj
@@ -3,7 +3,7 @@
9
- net6.0;net5.0
+ net7.0;net6.0;net5.0
enable
true
false
@@ -24,6 +24,7 @@
+
diff --git a/src/JsBind.Net/JsBind.Net.csproj b/src/JsBind.Net/JsBind.Net.csproj
index 12b2685..14e2e7b 100644
--- a/src/JsBind.Net/JsBind.Net.csproj
+++ b/src/JsBind.Net/JsBind.Net.csproj
@@ -3,7 +3,7 @@
9
- net6.0;net5.0
+ net7.0;net6.0;net5.0
enable
true
false
@@ -35,6 +35,7 @@
+
diff --git a/test/JsBind.Net.Tests/JsBind.Net.Tests.csproj b/test/JsBind.Net.Tests/JsBind.Net.Tests.csproj
index 431a3af..0a9d89e 100644
--- a/test/JsBind.Net.Tests/JsBind.Net.Tests.csproj
+++ b/test/JsBind.Net.Tests/JsBind.Net.Tests.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net7.0
<_JsBind_Package_Contents_Scripts_Directory>$(MSBuildThisFileDirectory)..\..\src\JsBind.Net\content\dist
false
@@ -10,9 +10,9 @@
-
-
-
+
+
+
diff --git a/test/JsBind.Net.TestsRunner/JsBind.Net.TestsRunner.csproj b/test/JsBind.Net.TestsRunner/JsBind.Net.TestsRunner.csproj
index b461c5e..6c52fd7 100644
--- a/test/JsBind.Net.TestsRunner/JsBind.Net.TestsRunner.csproj
+++ b/test/JsBind.Net.TestsRunner/JsBind.Net.TestsRunner.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net7.0
false
BuildOutput\$(Configuration)
diff --git a/test/JsBind.Net.TestsRunner/Runner.cs b/test/JsBind.Net.TestsRunner/Runner.cs
index 3bcde41..f5152dc 100644
--- a/test/JsBind.Net.TestsRunner/Runner.cs
+++ b/test/JsBind.Net.TestsRunner/Runner.cs
@@ -28,7 +28,7 @@ public async Task RunTests()
var configuration = "release";
#endif
- var testProjectOutput = $"{solutionDirectory}\\test\\JsBind.Net.Tests\\bin\\{configuration}\\net6.0\\wwwroot\\_framework";
+ var testProjectOutput = $"{solutionDirectory}\\test\\JsBind.Net.Tests\\bin\\{configuration}\\net7.0\\wwwroot\\_framework";
// delete all gzip files to disable use of gzip and allow code coverage collection
foreach (var gzipFile in Directory.GetFiles(testProjectOutput).Where(file => file.EndsWith(".gz")))
{
diff --git a/test/TestBindings/TestBindings.csproj b/test/TestBindings/TestBindings.csproj
index 8e7a820..9276654 100644
--- a/test/TestBindings/TestBindings.csproj
+++ b/test/TestBindings/TestBindings.csproj
@@ -2,7 +2,7 @@
9
- net6.0
+ net7.0
false
@@ -18,7 +18,7 @@
-
+