diff --git a/msbuild/Xamarin.Localization.MSBuild/MSBStrings.resx b/msbuild/Xamarin.Localization.MSBuild/MSBStrings.resx index fe78bce6a182..c0222395246d 100644 --- a/msbuild/Xamarin.Localization.MSBuild/MSBStrings.resx +++ b/msbuild/Xamarin.Localization.MSBuild/MSBStrings.resx @@ -1647,7 +1647,7 @@ - + Failed to optimize the image {0}, pngcrush exited with code {1}. {0}: the path to an image diff --git a/msbuild/Xamarin.MacDev.Tasks/Tasks/OptimizeImage.cs b/msbuild/Xamarin.MacDev.Tasks/Tasks/OptimizeImage.cs index 05e9536fbcbb..fe9bdbc89abd 100644 --- a/msbuild/Xamarin.MacDev.Tasks/Tasks/OptimizeImage.cs +++ b/msbuild/Xamarin.MacDev.Tasks/Tasks/OptimizeImage.cs @@ -105,7 +105,7 @@ public override bool Execute () .ContinueWith ((v) => { Execution execution = v.Result; if (execution.ExitCode != 0) - Log.LogError (MSBStrings.E7133 /* Failed to optimize the image {0}, pngcrush exited with code {1}. */, Path.GetFileName (arg.Input), execution.ExitCode); + Log.LogError (MSBStrings.E7134 /* Failed to optimize the image {0}, pngcrush exited with code {1}. */, Path.GetFileName (arg.Input), execution.ExitCode); var output = execution.StandardOutput?.ToString () ?? string.Empty; foreach (var line in output.Split ('\n')) {