From e726d31f524f67c1b760835d8b916f59c8a3b43a Mon Sep 17 00:00:00 2001 From: Claas Hilbrecht Date: Thu, 11 May 2023 15:16:04 +0200 Subject: [PATCH] fix issues #32, missing vsdbg executable name --- release-notes.md | 5 ++ src/VsLinuxDebugger/Core/UserOptions.cs | 2 +- .../OptionsPages/OptionsPage.DotNet.cs | 4 +- .../source.extension.vsixmanifest | 60 +++++++++---------- 4 files changed, 38 insertions(+), 33 deletions(-) diff --git a/release-notes.md b/release-notes.md index 620a68e..48de4c8 100644 --- a/release-notes.md +++ b/release-notes.md @@ -4,6 +4,11 @@ This document contains the release information for the project. +### 2.0.3 + +* Fixed: As per #32 add vsdbg constant to debugger full path. +* Added: Try to be more clear about the .NET executable in user options. It's not a path but the dotnet executable. + ### 2.0.2 * Fixed: As per #53, cleaned up exponential Build status messages. diff --git a/src/VsLinuxDebugger/Core/UserOptions.cs b/src/VsLinuxDebugger/Core/UserOptions.cs index 0e622b3..9166298 100644 --- a/src/VsLinuxDebugger/Core/UserOptions.cs +++ b/src/VsLinuxDebugger/Core/UserOptions.cs @@ -18,7 +18,7 @@ public class UserOptions /// Base path to VSDBG (i.e. `~/.vsdbg`). public string RemoteVsDbgBasePath { get; set; } /// Full path to VS Debugger. - public string RemoteVsDbgFullPath => LinuxPath.Combine(RemoteVsDbgBasePath, Constants.VS2022); + public string RemoteVsDbgFullPath => LinuxPath.Combine(RemoteVsDbgBasePath, Constants.VS2022, Constants.AppVSDbg); public bool UseCommandLineArgs { get; set; } public bool UsePublish { get; set; } diff --git a/src/VsLinuxDebugger/OptionsPages/OptionsPage.DotNet.cs b/src/VsLinuxDebugger/OptionsPages/OptionsPage.DotNet.cs index 66f0e06..685ed5e 100644 --- a/src/VsLinuxDebugger/OptionsPages/OptionsPage.DotNet.cs +++ b/src/VsLinuxDebugger/OptionsPages/OptionsPage.DotNet.cs @@ -22,8 +22,8 @@ public partial class OptionsPage : DialogPage public string RemoteDeployBasePath { get; set; } = $"./VSLinuxDbg"; // "LinuxDbg" [Category(RemoteDebugger)] - [DisplayName(".NET Path")] - [Description("Path of .NET on remote machine. (Samples: `dotnet`, `~/.dotnet/dotnet`)")] + [DisplayName(".NET executable")] + [Description("Path of the .NET executable on remote machine. (Samples: `dotnet`, `~/.dotnet/dotnet`)")] public string RemoteDotNetPath { get; set; } = Constants.DefaultDotNetPath; [Category(RemoteDebugger)] diff --git a/src/VsLinuxDebugger/source.extension.vsixmanifest b/src/VsLinuxDebugger/source.extension.vsixmanifest index 1cdc942..08ed178 100644 --- a/src/VsLinuxDebugger/source.extension.vsixmanifest +++ b/src/VsLinuxDebugger/source.extension.vsixmanifest @@ -2,34 +2,34 @@ - - - VS Linux Debugger - Remotely deploy and debug your .NET apps visa SSH on your Linux device using Visual Studio 2022. Works with popular Linux distrobutions such as Ubuntu, Raspberry Pi, and more! - https://github.com/SuessLabs/VsLinuxDebug - LICENSE.txt - ..\..\readme.md - ..\..\release-notes.md - Resources\TuxDebug.png - debug; build; remote debug; vsdbg; linux; xamarin; rpi; rpi4; remotedebug; remote; debugger; linux debug; net6; dotnet; raspberry pi; ubuntu; - - - - amd64 - - - - - - - - - - - + + + VS Linux Debugger + Remotely deploy and debug your .NET apps visa SSH on your Linux device using Visual Studio 2022. Works with popular Linux distrobutions such as Ubuntu, Raspberry Pi, and more! + https://github.com/SuessLabs/VsLinuxDebug + LICENSE.txt + ..\..\readme.md + ..\..\release-notes.md + Resources\TuxDebug.png + debug; build; remote debug; vsdbg; linux; xamarin; rpi; rpi4; remotedebug; remote; debugger; linux debug; net6; dotnet; raspberry pi; ubuntu; + + + + amd64 + + + + + + + + + + +