dotnet new install Uno.Templates
- for android workload install
android studio
beforeuno-check
then install emulator and sdk 34 also- tools/device manager ( download the emulator )
- tool/sdk tools (
Android SDK Command-line Tools (latest)
)
- setup
ANDROID_HOME
in environment~/.bashrc
and path to cmdline tools
export ANDROID_HOME=~/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
apt install openjdk-21-jdk openjdk-11-sdk
dotnet tool install -g uno.check
uno-check
dotnet new unoapp -n testuno
cd testuno
sudo dotnet workload restore
dotnet run --framework=net8.0-desktop
dotnet new unoapp -n testuno -tfm net9.0 -platforms desktop -toolkit -di -config -svg
more options available ( see dotnet new unoapp --help
)
dotnet new unoapp \
-n testuno \
-preset recommended \
-id com.mycompany.myapp \
-tfm net9.0 \
-presentation mvux \
-toolkit \
-di \
-log serilog \
-auth Web \
-theme-service \
-svg
- install
uno platform
vscode extension - reload vscode
- open
MainPage.xaml
and issueC-S-p: Uno Platform: Open Settings
then login/register to uno platform to enable hotreload - note: to enable debug breakpoint start with
Ctrl+F5
instead ofF5
the debugger will attach itself to the process - use the bottom bar to change Target between android, desktop, browserwasm