Back to Browse

Debug WPF and Winforms .NET in Linux on a Remote Machine (2021)

1.9K views
Jun 25, 2021
10:53

Run and Debug WPF and Winforms .NET in Linux on a Remote Machine WANT TO SUPPORT? 💰 Patreon: https://www.patreon.com/agiledevart --- 00:00 Introduction 01:42 VirtualBox Guest Additions and Folder Sharing 03:19 SSH Server Setup 04:13 SSH Key-Based Authentication 06:22 X11 Forwarding 07:15 Debugger on Linux 07:45 Debug with VS Code 09:54 Debug with Visual Studio --- ⌨️ Wine installation: sudo dpkg --add-architecture i386 wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/winehq.key.gpg sudo apt-add-repository "deb http://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main" sudo apt update sudo apt install --install-recommends winehq-stable wine --version winecfg sudo apt install winetricks winetricks dotnet45 winetricks win7 wget "https://download.visualstudio.microsoft.com/download/pr/6279dc90-f437-4481-82a5-73dd9f97da06/6519ef44735fd31115b9b1a81d6ff1e8/windowsdesktop-runtime-5.0.6-win-x64.exe" wine64 windowsdesktop-runtime-5.0.6-win-x64.exe ⌨️If you encounter visual glitches or just a black window, you'll probably need to disable hardware acceleration: wine reg add "HKCU\\SOFTWARE\\Microsoft\\Avalon.Graphics" /v DisableHWAcceleration /t REG_DWORD /d 1 /f ⌨️ VirtualBox Guest Additions and Folder Sharing sudo apt-get update sudo apt-get install build-essential gcc make perl dkms sudo usermod -a -G vboxsf `whoami` ⌨️ SSH sudo apt install openssh-server sudo systemctl status ssh ⌨️ SSH Key-Based Authentication (Powershell) ssh-keygen -t rsa -b 4096 -f $env:USERPROFILE\.ssh\id_rsa -C "agiledevart@vbox" .\puttygen.exe $env:USERPROFILE\.ssh\id_rsa .\pscp.exe -P 22 $env:USERPROFILE\.ssh\id_rsa.pub agiledevart@localhost:/home/agiledevart/.ssh/authorized_keys .\pageant.exe $env:USERPROFILE\.ssh\id_rsa.ppk ⌨️ X11 Forwarding and Remote Execution (Powershell) & $env:ProgramFiles\VcXsrv\vcxsrv.exe -multiwindow -clipboard -wgl .\plink.exe agiledevart@localhost -X -C -T -batch wine64 /media/MVC/bin/Debug/net45/MVC.exe ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬● 👨‍👩‍👧‍👦 Social: ◆ Twitter: https://twitter.com/agiledevart ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬● 🎮🕹️🐭 Snappy Mouse Run: ◆ Facebook: https://www.facebook.com/snappymouserun/ ◆ App Store: https://itunes.apple.com/us/app/snappy-mouse-run/id1163515281 ◆ Google Play: https://play.google.com/store/apps/details?id=com.agiledevart.snap ◆ Amazon Store: http://www.amazon.com/gp/mas/dl/android?asin=B07J15TS3R ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬● #linux #dotnet #debug

Download

0 formats

No download links available.

Debug WPF and Winforms .NET in Linux on a Remote Machine (2021) | NatokHD