Browse Source

Added missing parameter `/nologo` for `dotnet publish` (#1295)

Based on the current implementations `/nologo` will be used instead of `--nologo` as listed in the CLI Help.
pull/1334/head
Martin Stühmer 4 years ago
committed by GitHub
parent
commit
804cda02d2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/Microsoft.Tye.Core/PublishProjectStep.cs

4
src/Microsoft.Tye.Core/PublishProjectStep.cs

@ -37,8 +37,8 @@ namespace Microsoft.Tye
output.WriteDebugLine("Running 'dotnet publish'.");
var dotnetPublishArguments = project.BuildProperties.TryGetValue("TargetFramework", out var framework)
? $"publish \"{project.ProjectFile.FullName}\" -c Release -f {framework} -o \"{outputDirectory.DirectoryPath}\""
: $"publish \"{project.ProjectFile.FullName}\" -c Release -o \"{outputDirectory.DirectoryPath}\"";
? $"publish \"{project.ProjectFile.FullName}\" -c Release -f {framework} -o \"{outputDirectory.DirectoryPath}\" /nologo"
: $"publish \"{project.ProjectFile.FullName}\" -c Release -o \"{outputDirectory.DirectoryPath}\" /nologo";
output.WriteCommandLine("dotnet", dotnetPublishArguments);

Loading…
Cancel
Save