From b3372a39ebf2e380c002973aa97014cbc46d2075 Mon Sep 17 00:00:00 2001 From: Arthur van de Vondervoort Date: Sat, 25 Apr 2026 17:34:06 +0200 Subject: [PATCH] fix: include ApprovalTests as transitive dependency Remove PrivateAssets="all" and reduce ExcludeAssets to "build;buildTransitive" on all three TFM-specific ApprovalTests PackageReference entries. Previously, ApprovalTests was fully excluded from runtime assets, causing FileNotFoundException when DiffHelper.TryToReportDiffWithExternalTool tried to instantiate DiffReporter in consumer test projects. The build/buildTransitive exclusion is retained to prevent ApprovalTests' MSBuild targets from interfering with deterministic compilation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/RoslynTestKit/RoslynTestKit.csproj | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/RoslynTestKit/RoslynTestKit.csproj b/src/RoslynTestKit/RoslynTestKit.csproj index 551b600..d377589 100644 --- a/src/RoslynTestKit/RoslynTestKit.csproj +++ b/src/RoslynTestKit/RoslynTestKit.csproj @@ -24,8 +24,7 @@ + ExcludeAssets="build;buildTransitive" /> False @@ -42,8 +41,7 @@ + ExcludeAssets="build;buildTransitive" /> False @@ -61,8 +59,7 @@ + ExcludeAssets="build;buildTransitive" /> False