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))