Showdialog Xaml Exception with listview on Windows 8 only
问题 I'm in the process of writing a small application in Powershell making use of xaml gui. THe application works fine on Windows 7 and Windows Server 2012 at work, but on my home desktop, which runs on Windows 8 it throws an exception. After debugging a bit, I discovered the piece of xaml which makes the script crash. [xml]$Xaml = @' <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Windows Monitoring Framework