diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5e8eb3095..6c373e3eb 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -16,8 +16,6 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
- with:
- dotnet-version: 9.0.x
- name: Build Unit Tests .NET
run: dotnet build -f net9.0 test/Renci.SshNet.Tests/
@@ -65,8 +63,6 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
- with:
- dotnet-version: 9.0.x
- name: Build Solution
run: dotnet build Renci.SshNet.sln
@@ -118,11 +114,9 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
- with:
- dotnet-version: 9.0.x
- name: Setup WSL2
- uses: Vampire/setup-wsl@v5
+ uses: Vampire/setup-wsl@f40fb59d850112c9a292b0218bca8271305b9127 # v5.0.0
with:
distribution: Ubuntu-24.04
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index c99625e89..6c2d26aeb 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -27,10 +27,8 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v5
- - name: Setup .NET 8.0
+ - name: Setup .NET
uses: actions/setup-dotnet@v4
- with:
- dotnet-version: 8.x
- name: Setup docfx
run: dotnet tool update -g docfx
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 3320e0fde..34016a3f4 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -8,21 +8,13 @@
-
- runtime; build; native; contentfiles; analyzers; buildtransitive
- all
-
+
-
-
-
-
-
-
-
-
-
+
+
+
+
diff --git a/global.json b/global.json
new file mode 100644
index 000000000..a02bac5a2
--- /dev/null
+++ b/global.json
@@ -0,0 +1,6 @@
+{
+ "sdk": {
+ "version": "9.0.200",
+ "rollForward": "latestFeature"
+ }
+}
diff --git a/src/Renci.SshNet/Renci.SshNet.csproj b/src/Renci.SshNet/Renci.SshNet.csproj
index c6ab62f32..a76bbafe2 100644
--- a/src/Renci.SshNet/Renci.SshNet.csproj
+++ b/src/Renci.SshNet/Renci.SshNet.csproj
@@ -49,12 +49,7 @@
-
-
-
-
-
-
+
diff --git a/test/Renci.SshNet.IntegrationTests/Renci.SshNet.IntegrationTests.csproj b/test/Renci.SshNet.IntegrationTests/Renci.SshNet.IntegrationTests.csproj
index e3334796a..8755ffb44 100644
--- a/test/Renci.SshNet.IntegrationTests/Renci.SshNet.IntegrationTests.csproj
+++ b/test/Renci.SshNet.IntegrationTests/Renci.SshNet.IntegrationTests.csproj
@@ -18,9 +18,7 @@
all
-
-
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/test/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj b/test/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj
index 1f8c5bcaa..1a7145aa3 100644
--- a/test/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj
+++ b/test/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj
@@ -13,9 +13,7 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
all
-
-
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive