Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit 0c3d72b

Browse files
Fix build
1 parent 4a4d5ec commit 0c3d72b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Build/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
}
109109

110110
var test = new DotNetTest()
111-
.WithProject(solutionFile)
111+
.WithProject(Path.Combine(currentDir, "CSharpInteractive.Tests", "CSharpInteractive.Tests.csproj"))
112112
.WithConfiguration(configuration)
113113
.WithProps(buildProps)
114114
.WithFilter("Integration!=true&Docker!=true");
@@ -205,7 +205,7 @@
205205
var sampleProjectName = $"sample project for {framework}";
206206
try
207207
{
208-
var sampleProjectDir = Path.Combine("Samples", "DemoProject", "MySampleLib", "MySampleLib.Tests");
208+
var sampleProjectDir = Path.Combine("Samples", "MySampleLib", "MySampleLib.Tests");
209209
Succeed(new DotNetNew("build", $"--package-version={packageVersion}", "-T", framework, "--no-restore").WithWorkingDirectory(buildProjectDir).Run(), $"Creating a new {sampleProjectName}");
210210
Succeed(new DotNetBuild().WithProject(buildProjectDir).WithSources(defaultNuGetSource, Path.Combine(outputDir, "CSharpInteractive")).WithShortName($"Building the {sampleProjectName}").Build());
211211
Succeed(new DotNetRun().WithProject(buildProjectDir).WithNoBuild(true).WithWorkingDirectory(sampleProjectDir).Run(), $"Running a build for the {sampleProjectName}");

0 commit comments

Comments
 (0)