diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/GenerateBundle.cs b/src/Tasks/Microsoft.NET.Build.Tasks/GenerateBundle.cs index 3200e6f82770..2a1cd546e953 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/GenerateBundle.cs +++ b/src/Tasks/Microsoft.NET.Build.Tasks/GenerateBundle.cs @@ -19,11 +19,11 @@ public class GenerateBundle : TaskBase [Required] public string OutputDir { get; set; } [Required] - public bool ShowDisgnosticOutput { get; set; } + public bool ShowDiagnosticOutput { get; set; } protected override void ExecuteCore() { - var bundler = new Bundler(AppHostName, OutputDir, IncludeSymbols, ShowDisgnosticOutput); + var bundler = new Bundler(AppHostName, OutputDir, IncludeSymbols, ShowDiagnosticOutput); var fileSpec = new List(FilesToBundle.Length); foreach (var item in FilesToBundle) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets index 2dd5b88ece70..51cf7dfb4d07 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets @@ -776,7 +776,7 @@ Copyright (c) .NET Foundation. All rights reserved. AppHostName="$(AssemblyName)$(_NativeExecutableExtension)" IncludeSymbols="$(IncludeSymbolsInSingleFile)" OutputDir="$(PublishDir)" - ShowDisgnosticOutput="false"/> + ShowDiagnosticOutput="false"/>