diff --git a/source/nanoFramework.Tools.DebugLibrary.Shared/CLRCapabilities.cs b/source/nanoFramework.Tools.DebugLibrary.Shared/CLRCapabilities.cs index 3e9830be..8127445d 100644 --- a/source/nanoFramework.Tools.DebugLibrary.Shared/CLRCapabilities.cs +++ b/source/nanoFramework.Tools.DebugLibrary.Shared/CLRCapabilities.cs @@ -136,14 +136,14 @@ public struct TargetInfoProperties public readonly Version Version; public readonly string VendorInfo; public readonly string TargetName; - public readonly string PlatformName; + public readonly string Platform; public TargetInfoProperties(Version version, string info, string target, string platform) { Version = version; VendorInfo = info.TrimEnd('\0'); TargetName = target.TrimEnd('\0'); - PlatformName = platform.TrimEnd('\0'); + Platform = platform.TrimEnd('\0'); } } diff --git a/source/nanoFramework.Tools.DebugLibrary.Shared/MFDeployTool/INanoFrameworkDeviceInfo.cs b/source/nanoFramework.Tools.DebugLibrary.Shared/MFDeployTool/INanoFrameworkDeviceInfo.cs index f8a0637e..2526f79e 100644 --- a/source/nanoFramework.Tools.DebugLibrary.Shared/MFDeployTool/INanoFrameworkDeviceInfo.cs +++ b/source/nanoFramework.Tools.DebugLibrary.Shared/MFDeployTool/INanoFrameworkDeviceInfo.cs @@ -16,6 +16,8 @@ public interface INanoFrameworkDeviceInfo byte OEM { get; } byte Model { get; } ushort SKU { get; } + string TargetName { get; } + string Platform { get; } string ModuleSerialNumber { get; } string SystemSerialNumber { get; } System.Version ClrBuildVersion { get; } diff --git a/source/nanoFramework.Tools.DebugLibrary.Shared/MFDeployTool/NanoFrameworkDeviceInfo.cs b/source/nanoFramework.Tools.DebugLibrary.Shared/MFDeployTool/NanoFrameworkDeviceInfo.cs index ea04c837..41456eaa 100644 --- a/source/nanoFramework.Tools.DebugLibrary.Shared/MFDeployTool/NanoFrameworkDeviceInfo.cs +++ b/source/nanoFramework.Tools.DebugLibrary.Shared/MFDeployTool/NanoFrameworkDeviceInfo.cs @@ -183,9 +183,9 @@ public string TargetName get { return Dbg.Capabilities.SolutionReleaseInfo.TargetName; } } - public string PlatformName + public string Platform { - get { return Dbg.Capabilities.SolutionReleaseInfo.PlatformName; } + get { return Dbg.Capabilities.SolutionReleaseInfo.Platform; } } public IAppDomainInfo[] AppDomains @@ -216,7 +216,7 @@ public override string ToString() output.AppendLine($"HAL build info: {HalBuildVersion?.ToString()}, {HalBuildInfo}"); output.AppendLine($"Target: {TargetName?.ToString()}"); - output.AppendLine($"Platform: {PlatformName?.ToString()}"); + output.AppendLine($"Platform: {Platform?.ToString()}"); output.AppendLine(); output.AppendLine($"Image build @ { ImageBuildDate } { ImageCompilerInfo } v{ ImageCompilerVersion.ToString() }"); output.AppendLine(); diff --git a/source/version.json b/source/version.json index cac8f836..a1abdd7c 100644 --- a/source/version.json +++ b/source/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.2.0-preview.{height}", + "version": "1.2.1-preview.{height}", "buildNumberOffset": 10, "assemblyVersion": { "precision": "revision"