diff --git a/build/build/Build.cs b/build/build/Build.cs index 160c43d..3f27e54 100644 --- a/build/build/Build.cs +++ b/build/build/Build.cs @@ -83,6 +83,8 @@ class Build : NukeBuild DotNetTest(s => s .SetProjectFile(Solution) .SetConfiguration(Configuration) + .SetLogger("trx") + .SetResultsDirectory(ArtifactsDirectory / "TestResults") .EnableNoBuild() .EnableNoRestore()); }); @@ -110,6 +112,6 @@ class Build : NukeBuild .SetVersionSuffix(VersionSuffix) .SetFramework(PublishFramework) .SetRuntime(PublishRuntime) - .SetOutput(ArtifactsDirectory / PublishProject + "-" + PublishRuntime)); + .SetOutput(ArtifactsDirectory / "Publish" / PublishProject + "-" + PublishRuntime)); }); }