diff --git a/.github/actions/build-and-test/action.yml b/.github/actions/build-and-test/action.yml index 3656924..b74f56d 100644 --- a/.github/actions/build-and-test/action.yml +++ b/.github/actions/build-and-test/action.yml @@ -23,7 +23,7 @@ runs: dotnet-version: | 3.1.x 6.x - 7.x + 8.x env: NUGET_AUTH_TOKEN: ${{ inputs.nuget_token }} diff --git a/Directory.Build.props b/Directory.Build.props index 8a0b229..ecfed9c 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,12 +1,12 @@ - 11.0 + 12.0 enable preview enable - net472;net48;netcoreapp3.1;net6.0 - netcoreapp3.1;net6.0 + net472;net48;netcoreapp3.1;net6.0;net8.0 + netcoreapp3.1;net6.0;net8.0 diff --git a/NosePlug.Tests/NosePlug.Tests.csproj b/NosePlug.Tests/NosePlug.Tests.csproj index 69b7d04..99a6e30 100644 --- a/NosePlug.Tests/NosePlug.Tests.csproj +++ b/NosePlug.Tests/NosePlug.Tests.csproj @@ -8,7 +8,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/NosePlug/NasalException.cs b/NosePlug/NasalException.cs index f5ec83b..47b4f9d 100644 --- a/NosePlug/NasalException.cs +++ b/NosePlug/NasalException.cs @@ -1,6 +1,4 @@ -using System.Runtime.Serialization; - -namespace NosePlug; +namespace NosePlug; /// /// A base exception type that is thrown @@ -32,14 +30,4 @@ public NasalException(string? message, Exception? innerException) : base(message, innerException) { } - - /// - /// Initializes a new instance of the System.Exception class with serialized data. - /// - /// The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. - /// The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. - protected NasalException(SerializationInfo info, StreamingContext context) - : base(info, context) - { - } }