From e6bed1bf5ddb3e547415af73cc48c097106ae616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Breu=C3=9F?= Date: Sun, 18 Oct 2026 19:45:45 +0200 Subject: [PATCH] chore: clean up the build setup Removes leftovers and friction in the build setup. - Order TUnit test methods in ReSharper/Rider the same way as xUnit tests. - Resolve the package README relative to `Source/Directory.Build.props` instead of `$(SolutionDir)`, so building a single source project no longer fails at pack with NU5019/NU5039. --- Mockolate.slnx.DotSettings | 2 ++ Source/Directory.Build.props | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Mockolate.slnx.DotSettings b/Mockolate.slnx.DotSettings index c430b272c..fbf11a0a6 100644 --- a/Mockolate.slnx.DotSettings +++ b/Mockolate.slnx.DotSettings @@ -34,6 +34,7 @@ <Or> <HasAttribute Inherited="True" Name="Xunit.FactAttribute" /> <HasAttribute Inherited="True" Name="Xunit.TheoryAttribute" /> + <HasAttribute Inherited="True" Name="TUnit.Core.TestAttribute" /> </Or> </And> </HasMember> @@ -76,6 +77,7 @@ <Or> <HasAttribute Name="Xunit.FactAttribute" /> <HasAttribute Name="Xunit.TheoryAttribute" /> + <HasAttribute Name="TUnit.Core.TestAttribute" /> </Or> </And> </Entry.Match> diff --git a/Source/Directory.Build.props b/Source/Directory.Build.props index 25e8d1b5a..d91023f3d 100644 --- a/Source/Directory.Build.props +++ b/Source/Directory.Build.props @@ -60,13 +60,13 @@ Pack="true" PackagePath="/Docs/" Link="\Docs\logo.png"/> - -