diff --git a/source/nanoFramework.Tools.DebugLibrary.Shared/WireProtocol/Engine.cs b/source/nanoFramework.Tools.DebugLibrary.Shared/WireProtocol/Engine.cs index d9515ef2..bd287c24 100644 --- a/source/nanoFramework.Tools.DebugLibrary.Shared/WireProtocol/Engine.cs +++ b/source/nanoFramework.Tools.DebugLibrary.Shared/WireProtocol/Engine.cs @@ -1,4 +1,4 @@ -// +// // Copyright (c) 2017 The nanoFramework project contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. @@ -2697,7 +2697,7 @@ private bool DeploymentExecuteIncremental(List assemblies, IProgress b.Size) < deployLength) { // compose error message - string errorMessage = $"Deployment storage (total size: {deploymentBlob.ToDeploymentBlockList().Sum(b => b.Size)} bytes) was not large enough to fit assemblies to deploy (total size: {deployLength} bytes)"; + string errorMessage = $"Deployment storage (available size: {deploymentBlob.ToDeploymentBlockList().Sum(b => b.Size)} bytes) is not large enough for assemblies to deploy (total size: {deployLength} bytes)."; progress?.Report(errorMessage); @@ -2755,7 +2755,7 @@ private bool DeploymentExecuteIncremental(List assemblies, IProgress assemblies, IProgress assemblies, IProgress b.Size)} bytes"); + progress?.Report($"Deployed assemblies with a total size of {blocksToDeploy.Sum(b => b.Size)} bytes."); } // deployment successful @@ -2793,8 +2793,9 @@ private bool DeploymentExecuteIncremental(List assemblies, IProgress assemblies, IProgress progress) @@ -2886,7 +2887,7 @@ public bool DeploymentExecute(List assemblies, bool fRebootAfterDeploy = if (Capabilities.IncrementalDeployment) { - progress?.Report("Incrementally deploying assemblies to device"); + progress?.Report("Incrementally deploying assemblies to the device"); fDeployedOK = DeploymentExecuteIncremental(assemblies, progress); } @@ -2900,11 +2901,11 @@ public bool DeploymentExecute(List assemblies, bool fRebootAfterDeploy = if (!fDeployedOK) { - progress?.Report("Assemblies not successfully deployed to device."); + progress?.Report("Error deploying assemblies to the device."); } else { - progress?.Report("Assemblies successfully deployed to device."); + progress?.Report("Assemblies successfully deployed to the device."); if (fRebootAfterDeploy) { @@ -3733,5 +3734,5 @@ private DeviceConfiguration.DeviceConfigurationOption GetDeviceConfigurationOpti #endregion -} + } }