Warung.☕

Universal Windows Platform

2019/01/18

Back when Microsoft introduced UWP, the only available documentation were either from the official docs.microsoft.com or Channel9, so I made some notes and reminders and made my own documentation in this post.

UWP

I'd be lying if this was my first time with UWP since most of its structures shares alot from WinRT and I already have tried it with Windows Phone before.

Limitations

Synchronizationcontext

Gridview & ListView

XAML EventTrigger

VisualStateManager
Composition

0x00001007 Exception

0x802B000A Stowed Exception

If you've ever got this specific exception only in the Release and/or Store Build, just revert any changes you made in the XAML code. I'm dead fucking serious.

This is the infamous one-of-the-kind XAML exception that won't give you any useful information other than "yeah, your program crashed and you are fucked now". The fact that it only ever got mentioned exactly once in StackOverflow and won't ever shown up in debug mode shows you just how rare it is.

An untraceable exception doesn't mean we can't trace it. Here are some chekcs you can do to trace the actual problem:

  1. Did you straight up copy the control template / styles and paste it in your resources? Check some controls that might not be supported in the minimum version
  2. Did you use a built-in themeresource that use fluent design? Better jack the fuck up your minimum build version
  3. Using Windows UI Library? Try to remove it and all their trace in your project.