diff --git a/Terminal.Gui/Core/Clipboard/Clipboard.cs b/Terminal.Gui/Core/Clipboard/Clipboard.cs
index 4aed183da..d58ee0374 100644
--- a/Terminal.Gui/Core/Clipboard/Clipboard.cs
+++ b/Terminal.Gui/Core/Clipboard/Clipboard.cs
@@ -51,8 +51,8 @@ namespace Terminal.Gui {
Application.Driver.Clipboard.SetClipboardData (value.ToString ());
}
contents = value;
- } catch (NotSupportedException e) {
- throw e;
+ } catch (NotSupportedException) {
+ throw;
} catch (Exception) {
contents = value;
}
diff --git a/Terminal.Gui/Terminal.Gui.csproj b/Terminal.Gui/Terminal.Gui.csproj
index 94f958238..9162889d1 100644
--- a/Terminal.Gui/Terminal.Gui.csproj
+++ b/Terminal.Gui/Terminal.Gui.csproj
@@ -20,7 +20,7 @@
portable
- net472;netstandard2.1;net7.0
+ net472;netstandard2.0;netstandard2.1;net7.0;net8.0
Terminal.Gui
Terminal.Gui
true
diff --git a/UICatalog/UICatalog.csproj b/UICatalog/UICatalog.csproj
index c392c2c4b..6a82bb666 100644
--- a/UICatalog/UICatalog.csproj
+++ b/UICatalog/UICatalog.csproj
@@ -1,7 +1,7 @@
Exe
- net7.0
+ net8.0
9.0
UICatalog.UICatalogApp
Linux
@@ -22,7 +22,7 @@
-
+
diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj
index 4060018c0..7c4b4705a 100644
--- a/UnitTests/UnitTests.csproj
+++ b/UnitTests/UnitTests.csproj
@@ -1,6 +1,6 @@
- net7.0
+ net8.0
Preview
@@ -19,10 +19,10 @@
-
+
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/global.json b/global.json
index cf0511e14..7b2527f81 100644
--- a/global.json
+++ b/global.json
@@ -1,6 +1,6 @@
{
"sdk":{
- "version":"7.0.200",
+ "version":"8.0.204",
"rollForward":"latestMinor"
}
}