Skip to content

Commit f2441f5

Browse files
committed
Improve dotnet publish output path.
1 parent 95d86f3 commit f2441f5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

build.cake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ var configuration = Argument("configuration", "Release");
1212

1313
var project = "CommandLineParser";
1414
var solution = $"./{project}.sln";
15+
var cmdParserProject = $"./{project}/{project}.csproj";
1516
var nuspecFile = $"./{project}/{project}.nuspec";
1617
var tests = $"./{project}.Tests/{project}.Tests.csproj";
1718
var publishPath = MakeAbsolute(Directory("./output"));
@@ -60,7 +61,7 @@ Task("Publish")
6061
.IsDependentOn("Test")
6162
.IsDependentOn("Clean-Publish")
6263
.Does( () => {
63-
DotNetCorePublish(solution,
64+
DotNetCorePublish(cmdParserProject,
6465
new DotNetCorePublishSettings {
6566

6667
NoRestore = true,

0 commit comments

Comments
 (0)