Debug WPF and Winforms .NET in Linux (WSL 2 GUI) 2021

Channel:
Subscribers:
15,700
Published on ● Video Link: https://www.youtube.com/watch?v=sK1bOnVpngM



Duration: 8:38
5,573 views
76


Run and Debug WPF and Winforms .NET in Linux on WSL
---
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/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

●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
👨‍👩‍👧‍👦 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
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●

#wsl #dotnet #debug




Other Videos By AgileDevArt


2021-12-12Linux Tips - Overclock NVIDIA on Ubuntu for Crypto Mining
2021-11-14Docker Tips - Overclock GPU Accelerated Linux Container (2021)
2021-11-05Docker Tips - Full Ubuntu GUI in a Container Displayed on Windows (XServer)
2021-10-30Linux Tips - Easy Altcoin mining using old NVIDIA on Ubuntu (2021)
2021-10-24Docker Tips - Ethereum mining in a Linux Container on Windows (WSL 2) 2021
2021-10-17Linux Tips - Easy Ethereum mining using AMD on Ubuntu 20.04 (2021)
2021-10-10Linux Tips - Install Full Ubuntu Desktop on a USB Drive (2021)
2021-09-09Easy Copy-Paste Between GIMP & Inkscape (2021)
2021-07-28Docker Tips - GUI Apps in a Linux Container on Windows (2021)
2021-06-25Debug WPF and Winforms .NET in Linux on a Remote Machine (2021)
2021-05-15Debug WPF and Winforms .NET in Linux (WSL 2 GUI) 2021
2021-04-29Unity Tips - Damage Popups Without Code
2021-04-12Advanced Unity Physics - Second Order System
2021-04-04Unity Tips - Useful Singleton Examples (you didn't know about)
2021-02-28Unity Tips - Why Singletons Are Necessary In Unity
2020-11-21Blender 2.8 - Weight Paint Tips (Beginners Crash Course)
2020-11-07Blender 2.8 - Bones and Armature (Beginners Crash Course)
2020-09-06Blender 2.8 & GIMP 2.10 - Texture Cleanup & Symmetry Painting (Beginners Crash Course)
2020-07-20Blender 2.8 - Texture Projection Painting (Beginners Crash Course)
2020-06-13Snappy Mouse Run - Official Game Trailer
2020-03-17Blender 2.8 - Paint Curves - Advanced Texture Painting (Beginners Crash Course)



Tags:
wsl
Windows Subsystem for Linux
debug
debugger
wsl gui
.net
.net framework
.net core
wpf
winforms
linux
ubuntu
debug windows apps on linux
run windows apps on linux
wine
debug wine
run wine
run wine on wsl
debug wine on wsl
debug .net
debug wine .net
dotnet
.net 4.5
.net 5.0
wsl2
wsl 2
winetricks
wsl2 gui
wslg