WPF XBAP apps and UAC
Here’s an interesting thing I learned the other day, which wasn’t obvious to me. If you have an XBAP WPF application that tries to access files at the location identified by CSIDL_COMMON_APPDATA (Environment.SpecialFolders.CommonApplicationData in .Net 2.0/3.0) they need to be marked with Read/Write permissions for “Everyone”. Otherwise File Virtualization kicks in and Vista creates copies of the