SuessLabs / VsLinuxDebug

VS Extension to remotely deploy and debug your .NET (Core) C# solutions directly to your Linux or Raspberry Pi devices! .NET Core 3.1, .NET 5, 6, 7, 8, 9
https://marketplace.visualstudio.com/items?itemName=SuessLabs.VSLinuxDebugger
MIT License
37 stars 8 forks source link

[2.0] Deploy and Launch in GUI #37

Closed DamianSuess closed 2 years ago

DamianSuess commented 2 years ago

As a user, I want to be able to upload and automatically launch the application remotely in X11 GUI.

DamianSuess commented 2 years ago

Tested, and it launches :) Note

  1. Execute without waiting for BASH result.
  2. This will then need to attach to the process

Note, I need to parse the instance number and PID. This will then be pumped into the launch.config file

USER@MACHINE:~/VSLinuxDbg/GuiApp.PrismAvalonia$ DISPLAY=:0 dotnet GuiApp.PrismAvalonia.dll &
[1] 31974
USER@MACHINE:~/VSLinuxDbg/GuiApp.PrismAvalonia$ DISPLAY=:0 dotnet GuiApp.PrismAvalonia.dll &
[2] 31994

Running again after a few other deployments

[3] 33184
[1]   Done                    DISPLAY=:0 dotnet GuiApp.PrismAvalonia.dll
[2]   Done                    DISPLAY=:0 dotnet GuiApp.PrismAvalonia.dll