From ac59da5f85bd747cdf9664180d3b5d4864776376 Mon Sep 17 00:00:00 2001 From: Nick Cipollina Date: Tue, 10 Jun 2025 08:50:56 -0400 Subject: [PATCH 1/4] Add condition to prevent packing of test projects in Directory.Build.props --- Directory.Build.props | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Directory.Build.props b/Directory.Build.props index a5339dc..2cdeea6 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -10,5 +10,9 @@ Nick Cipollina https://github.com/LayeredCraft/structured-logging + + + false + From 4ed9ccbe5e76cba4e60179755ead2015d6bd3b96 Mon Sep 17 00:00:00 2001 From: Nick Cipollina Date: Tue, 10 Jun 2025 08:56:59 -0400 Subject: [PATCH 2/4] Set IsPackable to false for test projects and clean up project files --- Directory.Build.props | 5 ----- .../LayeredCraft.StructuredLogging.csproj | 14 +++++++------- .../LayeredCraft.StructuredLogging.Tests.csproj | 1 + 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 2cdeea6..c0ec8f3 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -10,9 +10,4 @@ Nick Cipollina https://github.com/LayeredCraft/structured-logging - - - false - - diff --git a/src/LayeredCraft.StructuredLogging/LayeredCraft.StructuredLogging.csproj b/src/LayeredCraft.StructuredLogging/LayeredCraft.StructuredLogging.csproj index 589322f..91fc216 100644 --- a/src/LayeredCraft.StructuredLogging/LayeredCraft.StructuredLogging.csproj +++ b/src/LayeredCraft.StructuredLogging/LayeredCraft.StructuredLogging.csproj @@ -5,7 +5,7 @@ enable net8.0;net9.0;netstandard2.1 default - + LayeredCraft.StructuredLogging LayeredCraft Structured Logging @@ -17,7 +17,7 @@ README.md Initial release of LayeredCraft.StructuredLogging with comprehensive logging extensions, scope management, enrichment capabilities, performance monitoring, and testing framework support. Copyright © 2025 Nick Cipollina - + false true @@ -32,12 +32,12 @@ - - + + - + - - + + diff --git a/test/LayeredCraft.StructuredLogging.Tests/LayeredCraft.StructuredLogging.Tests.csproj b/test/LayeredCraft.StructuredLogging.Tests/LayeredCraft.StructuredLogging.Tests.csproj index ec2dd4a..0bcf243 100644 --- a/test/LayeredCraft.StructuredLogging.Tests/LayeredCraft.StructuredLogging.Tests.csproj +++ b/test/LayeredCraft.StructuredLogging.Tests/LayeredCraft.StructuredLogging.Tests.csproj @@ -16,6 +16,7 @@ For more information on Microsoft Testing Platform support in xUnit.net, please visit: https://xunit.net/docs/getting-started/v3/microsoft-testing-platform --> + false From c8c7eabe6274728be8a6f5e9abb1c88f0934467a Mon Sep 17 00:00:00 2001 From: Nick Cipollina Date: Tue, 10 Jun 2025 09:01:28 -0400 Subject: [PATCH 3/4] Add global condition to disable packing for test projects --- Directory.Build.props | 4 + ...ayeredCraft.StructuredLogging.Tests.csproj | 83 ++++++++++--------- 2 files changed, 47 insertions(+), 40 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index c0ec8f3..af18457 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -10,4 +10,8 @@ Nick Cipollina https://github.com/LayeredCraft/structured-logging + + + false + diff --git a/test/LayeredCraft.StructuredLogging.Tests/LayeredCraft.StructuredLogging.Tests.csproj b/test/LayeredCraft.StructuredLogging.Tests/LayeredCraft.StructuredLogging.Tests.csproj index 0bcf243..f9547d5 100644 --- a/test/LayeredCraft.StructuredLogging.Tests/LayeredCraft.StructuredLogging.Tests.csproj +++ b/test/LayeredCraft.StructuredLogging.Tests/LayeredCraft.StructuredLogging.Tests.csproj @@ -1,44 +1,47 @@ - - enable - enable - Exe - net8.0;net9.0 - default - - false - - - - - - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - + + enable + enable + Exe + net8.0;net9.0 + default + + false + + + + + + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + true + From a3eeb4e302a834f241f9aa59de3a85296d3d00d4 Mon Sep 17 00:00:00 2001 From: Nick Cipollina Date: Tue, 10 Jun 2025 09:03:07 -0400 Subject: [PATCH 4/4] Update test/LayeredCraft.StructuredLogging.Tests/LayeredCraft.StructuredLogging.Tests.csproj Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../LayeredCraft.StructuredLogging.Tests.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/test/LayeredCraft.StructuredLogging.Tests/LayeredCraft.StructuredLogging.Tests.csproj b/test/LayeredCraft.StructuredLogging.Tests/LayeredCraft.StructuredLogging.Tests.csproj index f9547d5..00a3af7 100644 --- a/test/LayeredCraft.StructuredLogging.Tests/LayeredCraft.StructuredLogging.Tests.csproj +++ b/test/LayeredCraft.StructuredLogging.Tests/LayeredCraft.StructuredLogging.Tests.csproj @@ -16,7 +16,6 @@ For more information on Microsoft Testing Platform support in xUnit.net, please visit: https://xunit.net/docs/getting-started/v3/microsoft-testing-platform --> - false