Skip to content

Conversation

@MichaelKoster70
Copy link
Owner

@MichaelKoster70 MichaelKoster70 commented Jan 5, 2026

  • Extended the extension to resolve MSBuild properties in the folder path
  • Changed the default path to ~/$(MSBuildProjectName)
  • added copilot branches to be built when pushing

@MichaelKoster70 MichaelKoster70 linked an issue Jan 5, 2026 that may be closed by this pull request
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for MSBuild property resolution in the AppFolderPath configuration, allowing dynamic path generation using properties like $(MSBuildProjectName). The default path has been updated from ~/project to ~/$(MSBuildProjectName) to provide more meaningful project-specific folder names.

Key Changes

  • Introduced IDebugTokenReplacer service integration across the codebase to resolve MSBuild properties in folder paths
  • Updated AdditionalDeploymentParser to handle both file and directory deployments with a new file parameter
  • Refactored Linux shell command generation to use centralized format methods in PackageConstants.LinuxShellCommands

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/Extension/RemoteDebuggerLauncher/Infrastructure/AdditionalDeploymentParser.cs Refactored parser to distinguish between file and directory deployments, added handling for folder-target notation
src/Extension/RemoteDebuggerLauncher/PackageConstants.cs Added LinuxShellCommands class for centralized command formatting, updated default AppFolderPath to use MSBuildProjectName
src/Extension/RemoteDebuggerLauncher/ProjectSystem/Build/SecureShellDeployService.cs Integrated tokenReplacer for resolving MSBuild properties in AppFolderPath
src/Extension/RemoteDebuggerLauncher/ProjectSystem/Debugger/AdapterLaunchConfiguration.cs Added tokenReplacer parameter and resolved AppFolderPath using token replacement
src/Extension/RemoteDebuggerLauncher/ProjectSystem/PackageServiceFactory.cs Added tokenReplacer field and passed it to dependent services
src/Extension/RemoteDebuggerLauncher/RemoteOperations/SecureShellRemoteOperationsService.cs Integrated tokenReplacer and migrated to centralized Linux shell commands
src/Extension/RemoteDebuggerLauncher/RemoteOperations/SecureShellRemoteBulkCopyDeltaSessionService.cs Moved UploadFileAsync method and migrated to centralized command formatting
src/Extension/RemoteDebuggerLauncher/RemoteOperations/SecureShellRemoteBulkCopyRsyncSessionService.cs Added directory creation and migrated to centralized command formatting
src/Tests/RemoteDebuggerLauncherUnitTests/AdditionalDeploymentParserUnitTests.cs Updated all test method calls to include new file parameter, added tests for directory and folder-target scenarios
src/Extension/RemoteDebuggerLauncher/Infrastructure/UnixPath.cs Added DenotesFolder method to check if path represents a folder
.github/workflows/project-ci.yml Added copilot/** branch pattern to CI workflow triggers

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MichaelKoster70 MichaelKoster70 merged commit 3c454a2 into main Jan 5, 2026
5 checks passed
@MichaelKoster70 MichaelKoster70 deleted the feature/app-folder-path branch January 5, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use the VS project name as default "App Folder Path"

2 participants