diff --git a/src/Bugsnag.AspNet.Core/Bugsnag.AspNet.Core.csproj b/src/Bugsnag.AspNet.Core/Bugsnag.AspNet.Core.csproj
index b44b123..8397db2 100644
--- a/src/Bugsnag.AspNet.Core/Bugsnag.AspNet.Core.csproj
+++ b/src/Bugsnag.AspNet.Core/Bugsnag.AspNet.Core.csproj
@@ -3,16 +3,19 @@
Bugsnag.AspNet.Core
Bugsnag .NET ASP.NET Core Notifier
The Bugsnag Notifier for ASP.NET Core gives you instant notification of exceptions thrown from your ASP.NET Core applications. Any uncaught exceptions will trigger a notification to be sent to your Bugsnag project.
- netstandard2.0
+ netstandard2.0;net6.0
false
-
+
-
+
+
+
+
+
-
diff --git a/src/Bugsnag.AspNet.Mvc/Bugsnag.AspNet.Mvc.csproj b/src/Bugsnag.AspNet.Mvc/Bugsnag.AspNet.Mvc.csproj
index 973ae76..e73c041 100644
--- a/src/Bugsnag.AspNet.Mvc/Bugsnag.AspNet.Mvc.csproj
+++ b/src/Bugsnag.AspNet.Mvc/Bugsnag.AspNet.Mvc.csproj
@@ -8,14 +8,10 @@
-
-
-
-
+
-
-
-
+
+
diff --git a/src/Bugsnag.AspNet.WebApi/Bugsnag.AspNet.WebApi.csproj b/src/Bugsnag.AspNet.WebApi/Bugsnag.AspNet.WebApi.csproj
index a19dc76..7ad8b28 100644
--- a/src/Bugsnag.AspNet.WebApi/Bugsnag.AspNet.WebApi.csproj
+++ b/src/Bugsnag.AspNet.WebApi/Bugsnag.AspNet.WebApi.csproj
@@ -5,11 +5,6 @@
The Bugsnag Notifier for ASP.NET WebApi gives you instant notification of exceptions thrown from your ASP.NET WebApi applications. Any uncaught exceptions will trigger a notification to be sent to your Bugsnag project.
net462
-
-
-
-
-
diff --git a/src/Bugsnag.AspNet/Bugsnag.AspNet.csproj b/src/Bugsnag.AspNet/Bugsnag.AspNet.csproj
index 636a59a..649678b 100644
--- a/src/Bugsnag.AspNet/Bugsnag.AspNet.csproj
+++ b/src/Bugsnag.AspNet/Bugsnag.AspNet.csproj
@@ -10,10 +10,7 @@
-
-
-
diff --git a/src/Bugsnag.ConfigurationSection/Bugsnag.ConfigurationSection.csproj b/src/Bugsnag.ConfigurationSection/Bugsnag.ConfigurationSection.csproj
index e12b132..bddeda7 100644
--- a/src/Bugsnag.ConfigurationSection/Bugsnag.ConfigurationSection.csproj
+++ b/src/Bugsnag.ConfigurationSection/Bugsnag.ConfigurationSection.csproj
@@ -9,8 +9,6 @@
-
-
diff --git a/src/Bugsnag/Bugsnag.csproj b/src/Bugsnag/Bugsnag.csproj
index 3d311bd..85cad03 100644
--- a/src/Bugsnag/Bugsnag.csproj
+++ b/src/Bugsnag/Bugsnag.csproj
@@ -3,21 +3,9 @@
Bugsnag
Bugsnag .NET Notifier
The Bugsnag Notifier for .NET gives you instant notification of exceptions thrown from your .NET applications. Any uncaught exceptions will trigger a notification to be sent to your Bugsnag project.
- net462;netstandard2.0
+ net462;netstandard2.0;net6.0
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/Bugsnag/UnhandledException.cs b/src/Bugsnag/UnhandledException.cs
index d082c45..2fbc009 100644
--- a/src/Bugsnag/UnhandledException.cs
+++ b/src/Bugsnag/UnhandledException.cs
@@ -79,7 +79,9 @@ private void TaskScheduler_UnobservedTaskException(object sender, UnobservedTask
HandleEvent(e.Exception as Exception, _unobservedTerminates && !e.Observed);
}
+#if NET462 || NETSTANDARD2_0
[HandleProcessCorruptedStateExceptions]
+#endif
private void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
{
HandleEvent(e.ExceptionObject as Exception, e.IsTerminating);
diff --git a/src/Directory.build.props b/src/Directory.build.props
index 09daafc..9461a19 100644
--- a/src/Directory.build.props
+++ b/src/Directory.build.props
@@ -1,4 +1,4 @@
-
+
snmaynard kattrali martin308
@@ -7,7 +7,6 @@
MIT
https://github.com/bugsnag/bugsnag-dotnet
bugsnag.png
- true
true
7.1
1591
diff --git a/tests/Bugsnag.AspNet.Core.Tests/Bugsnag.AspNet.Core.Tests.csproj b/tests/Bugsnag.AspNet.Core.Tests/Bugsnag.AspNet.Core.Tests.csproj
index 724e6a3..cb10086 100644
--- a/tests/Bugsnag.AspNet.Core.Tests/Bugsnag.AspNet.Core.Tests.csproj
+++ b/tests/Bugsnag.AspNet.Core.Tests/Bugsnag.AspNet.Core.Tests.csproj
@@ -7,7 +7,6 @@
false
-
@@ -16,6 +15,12 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
+