diff --git a/Directory.Build.props b/Directory.Build.props
index 0b94847..cb84fd2 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -26,9 +26,9 @@
-
-
-
+
+
+
diff --git a/Source/Directory.Build.props b/Source/Directory.Build.props
index 4835981..b868874 100644
--- a/Source/Directory.Build.props
+++ b/Source/Directory.Build.props
@@ -17,7 +17,7 @@
-
+
diff --git a/Source/Sholo.CommandLine.Containers/Sholo.CommandLine.Containers.csproj b/Source/Sholo.CommandLine.Containers/Sholo.CommandLine.Containers.csproj
index 58132a4..61741d4 100644
--- a/Source/Sholo.CommandLine.Containers/Sholo.CommandLine.Containers.csproj
+++ b/Source/Sholo.CommandLine.Containers/Sholo.CommandLine.Containers.csproj
@@ -1,7 +1,7 @@
- net7.0
+ net8.0
diff --git a/Source/Sholo.CommandLine/CommandLineApp.cs b/Source/Sholo.CommandLine/CommandLineApp.cs
index 1b04127..8edcabe 100644
--- a/Source/Sholo.CommandLine/CommandLineApp.cs
+++ b/Source/Sholo.CommandLine/CommandLineApp.cs
@@ -46,7 +46,9 @@ void CancelHandler(object o, ConsoleCancelEventArgs e)
if (!cts.IsCancellationRequested)
{
+#pragma warning disable VSTHRD103
cts.Cancel();
+#pragma warning restore VSTHRD103
e.Cancel = true;
}
else
@@ -63,7 +65,9 @@ void UnloadingHandler(AssemblyLoadContext ctx)
if (!cts.IsCancellationRequested)
{
+#pragma warning disable VSTHRD103
cts.Cancel();
+#pragma warning restore VSTHRD103
}
// ReSharper restore AccessToDisposedClosure
diff --git a/Source/Sholo.CommandLine/Sholo.CommandLine.csproj b/Source/Sholo.CommandLine/Sholo.CommandLine.csproj
index a02d4c0..1463948 100644
--- a/Source/Sholo.CommandLine/Sholo.CommandLine.csproj
+++ b/Source/Sholo.CommandLine/Sholo.CommandLine.csproj
@@ -1,14 +1,14 @@
- net7.0
+ net8.0
-
-
-
+
+
+
diff --git a/Tests/Directory.Build.props b/Tests/Directory.Build.props
index 893680b..be0d2bd 100644
--- a/Tests/Directory.Build.props
+++ b/Tests/Directory.Build.props
@@ -11,7 +11,7 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
diff --git a/Tests/Sholo.CommandLine.Test/Sholo.CommandLine.Test.csproj b/Tests/Sholo.CommandLine.Test/Sholo.CommandLine.Test.csproj
index 553b400..91e0412 100644
--- a/Tests/Sholo.CommandLine.Test/Sholo.CommandLine.Test.csproj
+++ b/Tests/Sholo.CommandLine.Test/Sholo.CommandLine.Test.csproj
@@ -1,7 +1,7 @@
- net7.0
+ net8.0
diff --git a/global.json b/global.json
index eec76ea..f7fb55b 100644
--- a/global.json
+++ b/global.json
@@ -1,6 +1,7 @@
{
"sdk": {
- "rollForward": "latestMajor",
- "version": "6.0.400"
+ "version": "8.0.100",
+ "rollForward": "latestMinor",
+ "allowPrerelease": false
}
}