From 29948ebf1d72e9c9aabd826dba53a8bd3fe4fe90 Mon Sep 17 00:00:00 2001 From: martincostello Date: Fri, 16 Aug 2024 15:59:15 +0100 Subject: [PATCH] Fix build - Fix library not being packaged. - Update compatibility suppressions for netstandard2.0 being removed. - Bump version to 1.0.0. --- Directory.Build.props | 6 ++++-- src/Logging.XUnit/CompatibilitySuppressions.xml | 8 ++++++++ src/Logging.XUnit/MartinCostello.Logging.XUnit.csproj | 3 ++- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 src/Logging.XUnit/CompatibilitySuppressions.xml diff --git a/Directory.Build.props b/Directory.Build.props index 878a5548..5d62a551 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -26,6 +26,8 @@ latest true en-US + + $(NoWarn);NU5104 direct enable @@ -44,8 +46,8 @@ snupkg true true - 0.4.0.0 - 0.4.1 + 1.0.0.0 + 1.0.0 beta.$(GITHUB_RUN_NUMBER) diff --git a/src/Logging.XUnit/CompatibilitySuppressions.xml b/src/Logging.XUnit/CompatibilitySuppressions.xml new file mode 100644 index 00000000..b9c4ef03 --- /dev/null +++ b/src/Logging.XUnit/CompatibilitySuppressions.xml @@ -0,0 +1,8 @@ + + + + + PKV006 + .NETStandard,Version=v2.0 + + \ No newline at end of file diff --git a/src/Logging.XUnit/MartinCostello.Logging.XUnit.csproj b/src/Logging.XUnit/MartinCostello.Logging.XUnit.csproj index bd1db514..33b1bbe5 100644 --- a/src/Logging.XUnit/MartinCostello.Logging.XUnit.csproj +++ b/src/Logging.XUnit/MartinCostello.Logging.XUnit.csproj @@ -4,9 +4,10 @@ Extensions for Microsoft.Extensions.Logging for xunit. true true + true Library MartinCostello.Logging.XUnit - 0.3.0 + 0.4.0 MartinCostello.Logging.XUnit $(Description) net8.0