From c5608b1beb10f3f856635f8f974e4670b736060c Mon Sep 17 00:00:00 2001 From: Nikita Tsukanov Date: Mon, 20 Dec 2021 19:07:02 +0300 Subject: [PATCH] Fix test project path resolve --- nukebuild/Build.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nukebuild/Build.cs b/nukebuild/Build.cs index 1c5bd0a447..63771b3f69 100644 --- a/nukebuild/Build.cs +++ b/nukebuild/Build.cs @@ -204,7 +204,7 @@ partial class Build : NukeBuild void RunCoreTest(string projectName) { if(!projectName.EndsWith(".csproj")) - projectName = System.IO.Path.Combine(projectName, System.IO.Path.GetFileName(projectName)+".csproj"); + projectName = Path.Combine("tests", projectName, System.IO.Path.GetFileName(projectName)+".csproj"); Information("Running tests from " + projectName); XDocument xdoc; using (var s = File.OpenRead(projectName))