OPERATING SYSTEMSOS Linux

Run and Debug WPF and Winforms .NET in Linux on a Remote Machine

Run and Debug WPF and Winforms .NET in Linux on a Remote Machine

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.sshid_rsa -C “agiledevart@vbox”
.puttygen.exe $env:USERPROFILE.sshid_rsa
.pscp.exe -P 22 $env:USERPROFILE.sshid_rsa.pub agiledevart@localhost:/home/agiledevart/.ssh/authorized_keys
.pageant.exe $env:USERPROFILE.sshid_rsa.ppk

X11 Forwarding and Remote Execution (Powershell)

& $env:ProgramFilesVcXsrvvcxsrv.exe -multiwindow -clipboard -wgl
.plink.exe agiledevart@localhost -X -C -T -batch wine64 /media/MVC/bin/Debug/net45/MVC.exe

* Snappy Mouse Run *

As a mouse the goal of the game is to collect as many slices of cheese as possible before you get snapped.

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:

#linux #dotnet #debug

source

by AgileDevArt

linux foundation

Leave a Reply

Your email address will not be published. Required fields are marked *