diff --git a/.github/actions/setup-dotnet-build/action.yml b/.github/actions/setup-dotnet-build/action.yml
index 552f186..4112dd9 100644
--- a/.github/actions/setup-dotnet-build/action.yml
+++ b/.github/actions/setup-dotnet-build/action.yml
@@ -1,11 +1,6 @@
name: 'Setup .NET and Build'
description: 'Sets up .NET environment, restores dependencies, and builds the project'
inputs:
- dotnet-version:
- description: '.NET versions to install'
- required: false
- default: |
- 9.x
configuration:
description: 'Build configuration'
required: false
@@ -21,7 +16,7 @@ runs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
- dotnet-version: ${{ inputs.dotnet-version }}
+ global-json-file: global.json
- name: Restore dependencies
run: dotnet restore
diff --git a/IntelliTect.TestTools.Console.Tests/ConsoleAssertTests.cs b/IntelliTect.TestTools.Console.Tests/ConsoleAssertTests.cs
index a49e8a1..157647b 100644
--- a/IntelliTect.TestTools.Console.Tests/ConsoleAssertTests.cs
+++ b/IntelliTect.TestTools.Console.Tests/ConsoleAssertTests.cs
@@ -1,4 +1,4 @@
-using System.Runtime.InteropServices;
+using System.Runtime.InteropServices;
using System.Threading.Tasks;
namespace IntelliTect.TestTools.Console.Tests;
diff --git a/IntelliTect.TestTools.Console.Tests/IntelliTect.TestTools.Console.Tests.csproj b/IntelliTect.TestTools.Console.Tests/IntelliTect.TestTools.Console.Tests.csproj
index 04f6c09..b764e6c 100644
--- a/IntelliTect.TestTools.Console.Tests/IntelliTect.TestTools.Console.Tests.csproj
+++ b/IntelliTect.TestTools.Console.Tests/IntelliTect.TestTools.Console.Tests.csproj
@@ -5,7 +5,7 @@
IntelliTect.TestTools.Console.Tests
-
+
@@ -19,4 +19,4 @@
-
\ No newline at end of file
+
diff --git a/IntelliTect.TestTools.Console.sln b/IntelliTect.TestTools.Console.sln
index f898a0d..8045910 100644
--- a/IntelliTect.TestTools.Console.sln
+++ b/IntelliTect.TestTools.Console.sln
@@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml
.github\workflows\deploy.yml = .github\workflows\deploy.yml
Directory.Build.props = Directory.Build.props
+ global.json = global.json
EndProjectSection
EndProject
Global
diff --git a/IntelliTect.TestTools.Console/IntelliTect.TestTools.Console.csproj b/IntelliTect.TestTools.Console/IntelliTect.TestTools.Console.csproj
index 9a83da9..c31509f 100644
--- a/IntelliTect.TestTools.Console/IntelliTect.TestTools.Console.csproj
+++ b/IntelliTect.TestTools.Console/IntelliTect.TestTools.Console.csproj
@@ -1,4 +1,4 @@
-
+
netstandard2.0
@@ -26,6 +26,6 @@
-
+
diff --git a/global.json b/global.json
new file mode 100644
index 0000000..f15a959
--- /dev/null
+++ b/global.json
@@ -0,0 +1,6 @@
+{
+ "sdk": {
+ "version": "9.0.100",
+ "rollForward": "latestMinor"
+ }
+}
\ No newline at end of file