Tools

Windows App Development CLI v0.8: WinUI DevTools experimental preview

#ifdef Windows Chiara Mooney
Tools

WinApp CLI 0.8 ships an experimental WinUI DevTools that inspects the live visual tree, edits properties and lets coding agents read element comments, plus ETW-based performance profiling and C++ .vcxproj support for build and MSIX packaging.

Key points

  • WinUI DevTools starts by default for WinUI 3 C# and C++ apps launched with `winapp run .`; disable it with `--devtools off`.
  • The "Just my XAML" filter hides template elements and shows the XAML file and line that declare the selection.
  • Property edits are live experiments only: they disappear on restart and replacing a bound value can drop the binding.
  • Element comments are stored with the project, and agents read them through `winapp devtools comments list` to fix and resolve them.
  • `winapp perf analyze` turns ETW recordings into parsing, layout, hotspot and frame-interval views; `--profile-mode elevated` captures startup.
  • C++ `.vcxproj` projects can be built and packaged to MSIX, and `--unique-identity` keeps parallel checkouts registered side by side.

Real-world use

  • Tweaking spacing or a brush in a WinUI 3 desktop app without waiting for a rebuild each time.
  • A terminal-only coding agent that reads element comments and applies the XAML fix itself.
  • Profiling a slow page with ETW traces to find expensive XAML parsing instead of guessing.
  • Testing two branches of a packaged app side by side, each with its own package identity.

This summary was generated by the agent from the original post on #ifdef Windows. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message