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.
main-publicPoolNames
Martin Stühmer
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/Microsoft.Tye.Core/PublishProjectStep.cs
|
|
@ -37,8 +37,8 @@ namespace Microsoft.Tye |
|
|
|
|
|
|
|
|
output.WriteDebugLine("Running 'dotnet publish'."); |
|
|
output.WriteDebugLine("Running 'dotnet publish'."); |
|
|
var dotnetPublishArguments = project.BuildProperties.TryGetValue("TargetFramework", out var framework) |
|
|
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 -f {framework} -o \"{outputDirectory.DirectoryPath}\" /nologo" |
|
|
: $"publish \"{project.ProjectFile.FullName}\" -c Release -o \"{outputDirectory.DirectoryPath}\""; |
|
|
: $"publish \"{project.ProjectFile.FullName}\" -c Release -o \"{outputDirectory.DirectoryPath}\" /nologo"; |
|
|
|
|
|
|
|
|
output.WriteCommandLine("dotnet", dotnetPublishArguments); |
|
|
output.WriteCommandLine("dotnet", dotnetPublishArguments); |
|
|
|
|
|
|
|
|
|