From 4c646667d2e3fa68defe68d687d1997ed6ff3aac Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 7 Aug 2026 16:17:38 +0000 Subject: [PATCH] build(testing): consume JustDummies as a published package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Steps 1-4 and 7 of the cutover ADR-0069 prescribes, now that JustDummies 1.0.0-preview.1 is on nuget.org. The four ProjectReferences become PackageReferences, and the four analyzer references go with them: the package carries the 28 analyzers under analyzers/dotnet/cs, verified on the published artifact rather than assumed. FirstClassErrors.Testing loses IncludeJustDummiesInPackage and its PrivateAssets=all. Its package stops smuggling JustDummies.dll into lib/ and declares the dependency instead — which is the point of the change, per ADR-0069: a consumer who also references JustDummies directly can no longer end up with two copies at different versions and no diagnostic. The dependency is on a PRERELEASE, deliberately and temporarily, so the split can happen before JustDummies reaches 1.0 stable; FirstClassErrors.Testing cannot ship a stable version until it does. The seven JustDummies projects, the dum train and the workflows stay for now: ADR-0069 orders the deletion last, after the consumers no longer reference them. Refs: #404 --- Directory.Packages.props | 1 + ...ClassErrors.RequestBinder.UnitTests.csproj | 15 +++----- .../FirstClassErrors.Testing.UnitTests.csproj | 11 ++---- .../FirstClassErrors.Testing.csproj | 34 ++++++------------- .../FirstClassErrors.UnitTests.csproj | 17 ++++------ 5 files changed, 25 insertions(+), 53 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 2ebcc231..d1bff9da 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -29,6 +29,7 @@ + diff --git a/FirstClassErrors.RequestBinder.UnitTests/FirstClassErrors.RequestBinder.UnitTests.csproj b/FirstClassErrors.RequestBinder.UnitTests/FirstClassErrors.RequestBinder.UnitTests.csproj index ac0c5613..1e29a580 100644 --- a/FirstClassErrors.RequestBinder.UnitTests/FirstClassErrors.RequestBinder.UnitTests.csproj +++ b/FirstClassErrors.RequestBinder.UnitTests/FirstClassErrors.RequestBinder.UnitTests.csproj @@ -26,17 +26,12 @@ - - + + - - + diff --git a/FirstClassErrors.Testing.UnitTests/FirstClassErrors.Testing.UnitTests.csproj b/FirstClassErrors.Testing.UnitTests/FirstClassErrors.Testing.UnitTests.csproj index 098a74d5..bb10cede 100644 --- a/FirstClassErrors.Testing.UnitTests/FirstClassErrors.Testing.UnitTests.csproj +++ b/FirstClassErrors.Testing.UnitTests/FirstClassErrors.Testing.UnitTests.csproj @@ -25,15 +25,10 @@ - + - - + diff --git a/FirstClassErrors.Testing/FirstClassErrors.Testing.csproj b/FirstClassErrors.Testing/FirstClassErrors.Testing.csproj index 6f5c826b..eb5fdf28 100644 --- a/FirstClassErrors.Testing/FirstClassErrors.Testing.csproj +++ b/FirstClassErrors.Testing/FirstClassErrors.Testing.csproj @@ -56,32 +56,18 @@ - - - - - + + + + - - - $(TargetsForTfmSpecificBuildOutput);IncludeJustDummiesInPackage - - - - - - - - - - - + + + +