Run and Debug WPF and Winforms .NET in Linux on WSL
WANT TO SUPPORT?
💰 Patreon: / agiledevart
---
00:00 Introduction
01:08 Install Wine
04:05 Debugger in WSL
04:45 Debug with VS Code
07:14 Debug with Visual Studio
---
⌨️ Wine installation commands:
sudo dpkg --add-architecture i386
wget qO https://dl.winehq.org/wine-builds/win... | 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.microso..."
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
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
👨👩👧👦 Social:
◆ Twitter: / agiledevart
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
🎮🕹️🐭 Snappy Mouse Run:
◆ Facebook: / snappymouserun
◆ App Store: https://itunes.apple.com/us/app/snapp...
◆ Google Play: https://play.google.com/store/apps/de...
◆ Amazon Store: http://www.amazon.com/gp/mas/dl/andro...
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
#wsl #dotnet #debug