GordianDotNet / VSMonoDebugger

Enables Visual Studio 2017 to deploy and debug a mono application on remote linux machines via SSH.
MIT License
49 stars 25 forks source link

Visual Studio throws Application.EnableVisualStyles(); when trying to debug WinForms app #27

Open fkromer opened 3 years ago

fkromer commented 3 years ago

I'm trying to remote debug a WinForms application on a remote OS which is Raspberry Pi OS (32 bit). I've configured the extension like described in the README.md (the SSH config variant). The executables are transfered to the remote OS and reside in ./MonoDebugTemp like it should be. The executable can be executed on the remote OS with mono WinFormsApp.exe successfully. I've installed mono (32-bit) on the Windows host machine.

However the debugger in Visual Studio 2019 throws an Application.EnableVisualStyles(); error (in WinFormsApp.Program.Main). How can I fix this issue?

GordianDotNet commented 2 years ago

Have a look at issue #3 and issue #6