Skip to content

chadjriddle/VSMonoDebugger

 
 

Repository files navigation

VSMonoDebugger

Enables Visual Studio 2017 to deploy and debug mono application on remote linux machines via SSH.

Usage

Settings

You have to save a valid SSH connection first!

Menu "Mono"/"Settings..."

VSMonoDebugger Settings

  • [1] Selects the connection to use for deploying and debugging
  • [2] You can create a additional SSH connection
  • [3] You can remove a SSH connection (The last connection can not be deleted)
  • [4] Enter the remote SSH IP or host name
  • [5] Enter the SSH port
  • [6] Enter the SSH username
  • [7] Enter the SSH password (if there is no password => leave the field empty)
  • [8] Mono opens a debug session over this port
  • [9] This is where the project output is deployed
  • [10] Timeout to connect to the debug session
  • [11] Console outputs can be output in the Visual Studio Output window
  • [12] All changes are saved after you click on "Save"
  • [13] All changes are discarded if you click on "Cancel"

Deploy

You can deploy your "Startup project" output to the remote machine via SSH configured under "Settings".

Menu "Mono"/"Deploy only (SSH)"

Notice

To speed up deployment, SshFileSync is used.

To upload only changed files, an additional cache file '.uploadCache.cache' is stored in the destination folder. Don't delete this cache file!

Debug

You can start a debug session in Visual Studio 2017 on the remote machine.

Menu "Mono"/"Debug only (SSH)"

Deploy and Debug

You can run both commands in one step.

Menu "Mono"/"Deploy and Debug (SSH)"

Known Issues

  • Support prerequisite Microsoft.VisualStudio.Component.MonoDebugger without copying the dlls
  • Support settings in an Options Page
  • Script to stop running mono debug process has dependencies (workaround depends on installed packages)
  • Not all project types are supported (startup project must be set)

Version History

0.7.0

2018-03-18

  • Support fast deployment with SshDeltaCopy
  • Integrate the Xamarin Mono Debugger (Mono.Debugging.VisualStudio.4.9.10-pre)
  • Create mdb files before deployment with a integrated pdb2mdb function
  • Manage multiple ssh connections (deployment devices)
  • Show standard output in the Visual Studio Output window
  • Support embedded devices (Testet on a Raspberry 2 with Yocto Linux version 4.9.27 and Mono 5.4)

0.1.0

2018-01-20

  • Start project

Used resources

About

Enables Visual Studio 2017 to deploy and debug a mono application on remote linux machines via SSH.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%