Working with CurrentAppSimulator

The first time your app uses CurrentAppSimulator, it automatically generates an XML file in your app’s local data folder. This file contains fake metadata corresponding to what would normally be in the Windows Store, as well as the status of the current user’s fake licenses. You can open this file directly with Notepad or your favorite text editor by pointing it to %USERPROFILE%\AppData\Local\Packages\PackageFamilyName\LocalState\Microsoft\Windows Store\ApiData\WindowsStoreProxy.xml. You can see your project’s value of PackageFamilyName on the Packaging tab in Visual Studio’s package manifest designer. It is derived from your package name (from the same tab), which is set to a GUID by default. Listing 8.1 shows ...

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.