Rust Installation on Windows

Welcome to Rust!

This will download and install the official compiler for the Rust
programming language, and its package manager, Cargo.

Rustup metadata and toolchains will be installed into the Rustup
home directory, located at:

  C:\Users\andreas\.rustup

This can be modified with the RUSTUP_HOME environment variable.

The Cargo home directory is located at:

  C:\Users\andreas\.cargo

This can be modified with the CARGO_HOME environment variable.

The cargo, rustc, rustup and other commands will be added to
Cargo's bin directory, located at:

  C:\Users\andreas\.cargo\bin

This path will then be added to your PATH environment variable by
modifying the HKEY_CURRENT_USER/Environment/PATH registry key.

You can uninstall at any time with rustup self uninstall and
these changes will be reverted.

Current installation options:


   default host triple: x86_64-pc-windows-msvc
     default toolchain: stable (default)
               profile: default
  modify PATH variable: yes

1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
>1

info: profile set to 'default'
info: default host triple is x86_64-pc-windows-msvc
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
info: latest update on 2022-11-03, rust version 1.65.0 (897e37553 2022-11-02)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
 27.4 MiB /  27.4 MiB (100 %)  25.2 MiB/s in  1s ETA:  0s
info: downloading component 'rustc'
 65.0 MiB /  65.0 MiB (100 %)  25.3 MiB/s in  2s ETA:  0s
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
 18.9 MiB /  18.9 MiB (100 %)   1.6 MiB/s in  7s ETA:  0s
info: retrying renaming 'C:\Users\andreas\.rustup\tmp\yntkhs6c05ay_fjz_dir\rust-docs\share/doc/rust/html' to 'C:\Users\andreas\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rust/html'
info: installing component 'rust-std'
 27.4 MiB /  27.4 MiB (100 %)  10.3 MiB/s in  2s ETA:  0s
info: installing component 'rustc'
 65.0 MiB /  65.0 MiB (100 %)  13.2 MiB/s in  5s ETA:  0s
info: installing component 'rustfmt'
info: default toolchain set to 'stable-x86_64-pc-windows-msvc'

  stable-x86_64-pc-windows-msvc installed - rustc 1.65.0 (897e37553 2022-11-02)


Rust is installed now. Great!

To get started you may need to restart your current shell.
This would reload its PATH environment variable to include
Cargo's bin directory (%USERPROFILE%\.cargo\bin).

Press the Enter key to continue.

Microsoft WinUI 3/WPF/UWP/Windows Forms/MFC/GDI

  • Win32 (USER32/GDI32)
  • .NET 6 (WPF/WinForms)

Wikipedia

.NET Multi-Platform App UI (.NET MAUI)
Graphics Device Interface (GDI)
Windows Presentation Foundation (WPF)
Windows Forms

Windows App SDK
Windows UI Library

Xamarin
Ximian

Microsoft

What is WinUI?

Was ist Windows Presentation Foundation (WPF)?
Tutorial: Erstellen einer einfachen Anwendung mit C# (WPF)
Tutorial: Erstellen Ihrer ersten Anwendung für die Universelle Windows-Plattform in Visual Studio mit XAML und C# (UWP)
Windows UI Library in the Windows App SDK (WinUI 3)

Capability/feature WinUI 3 UWP XAML & WinUI 2 WPF WinForms MFC
Windows app types supported Desktop UWP Desktop Desktop Desktop
Windows versions supported Win10, 1809+

Win11 (all)

Win10, 1703+

Win11 (all)

Windows XP or higher Windows XP or higher Windows XP or higher
Native C/C++
.NET 5 Support
WebView2
(Chromium-based engine)
✓ * ✓ *
Built-in Fluent Design controls
Built-in support for modern input
(e.g. touch, pen, gamepad)
Uses latest DirectX version for graphics performance
High performance data binding
(x:Bind)

Tutorials

WinForms vs WPF vs UWP: Expectations vs. Reality

YouTube

C# Compare Windows Forms vs WPF vs UWP
WinForm vs WPF vs UWP vs Console – The C# Desktop UI Showdown (and the future with .NET 5)