티스토리 뷰
반응형
Running UWP on Linux with Uno Platform
Youtube Channel : https://youtube.com/FutureOfDotNet
- Youtube : https://youtu.be/VjAfdm5_zVo
- Github : https://github.com/kaki104/UnoLinux2Sample
- Pdf :
Reference
- Uno Platform and Windows Community Toolkit built app running on Ubuntu Linux, on Raspberry Pi
- Running UWP on Linux With Uno
Windows Terminal
- Get Windows Terminal - Microsoft Store
- PowerShell & Ubuntu
.NET Core SDK 3.1.100
Uno ProjectTemplates
- NuGet Gallery | Uno.ProjectTemplates.Dotnet 3.0.12
- dotnet new --install Uno.ProjectTemplates.Dotnet::3.1.0-dev.100
WSL2(Windows Subsystem for Linux)
- Windows Subsystem for Linux Installation Guide for Windows 10
- Install WSL
- dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
- Restart machine
- Update to WSL2
- Windows 10 version 1903 or higher, Build 18362
- dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
- Restart machine
- wsl --set-default-version 2
Install Ubuntu 20.04 LTS
Install X410
X410 setting
- Allow Public Networks
Test WSL2 + X Window Server
- sudo apt-get update
- sudo apt-get install vim-gtk
Find my IP address
- ipconfig
- WSL -> IPv4 Address : 172.28.176.1
Export Display Setting
- export DISPLAY=[IP Address]:0
- ex) export DISPLAY=172.28.176.1:0
Execute gvim
- gvim
- Troubleshooting
Create and Publish an Uno project
- dotnet new unoapp -o UnoLinux -w=false -wasm=false -ios=false -android=false -macos=false -sw=false
- cd .\UnoLinux\UnoLinux.Skia.Gtk\
- dotnet build
- dotnet publish --runtime linux-x64 -c Release --self-contained
Running UWP on Ubuntu
- cd /mnt/[DRIVE LETTER]/[PATH]/UnoLinux/UnoLinux.Skia.Gtk/bin/Release/netcoreapp3.1/linux-x64
- Ex) cd /mnt/c/users/kaki1/UnoLinux/UnoLinux.Skia.Gtk/bin/Release/netcoreapp3.1/Linux-x64
- ./UnoLinux.Skia.Gtk
UWP app running in Ubuntu
- Uno UWP app
- Rendering to a Skia backend
- GTK host
- Ubuntu
- Windows Subsystem for Linux 2
반응형
'Uno Platform' 카테고리의 다른 글
WPF, UWP 프로젝트를 Uno Platform으로 포팅하기 (0) | 2020.11.14 |
---|---|
Can I make business apps with the Uno Platform? (0) | 2020.10.30 |
Creating a simple RSS reader using Uno Platform part2 (0) | 2020.07.07 |
Creating a simple RSS reader using UNO Platform part1 (0) | 2020.06.30 |
Getting started Uno (0) | 2020.05.24 |
댓글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- XAML
- .net
- Windows 10
- Cross-platform
- #MVVM
- visual studio 2019
- windows 11
- Microsoft
- Visual Studio 2022
- PRISM
- ef core
- .net 5.0
- #prism
- C#
- Always Encrypted
- MVVM
- #uwp
- Bot Framework
- kiosk
- WPF
- uno platform
- Build 2016
- dotNETconf
- ComboBox
- uno-platform
- IOT
- UWP
- LINQ
- Behavior
- #Windows Template Studio
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
글 보관함