Dealing with Documents: How (not) to use the documentsLibrary capability in Windows Store apps

Many people posting in the forums express confusion over the documentsLibrary capability’s “Special Use” categorization. This capability is highly restricted and not intended for general use, and apps which try to use it generally will fail certification. While the requirements that business accounts are required to declare the Special Use capabilities and that only specifically declared…


Your Windows Phone 7/8 application tests fine, but fails after publishing to Marketplace or after private app distribution

*EDIT* 20 June 2013 This information has since been amended and published as KB Article 2859130. So, you tested your application using the Windows Phone SDK tools. Everything ran flawlessly. You publish your app. You download your published app. Users download your app and report that the app crashes during its splash screen on start-up. What to…


Datagram Socket Communication in Windows Phone 8

New to Windows Phone 8 is the Windows.Networking.Sockets namespace. This namespace is also used in the Windows Store app development environment, which makes it convenient for developers who wish to port networking applications to both targets.  Windows.Networking.Sockets is the replacement for the older System.Net.Sockets namespace used in the Windows Phone 7 network model.  System.Net.Sockets is provided for…


Where did all my gestures go?

A common problem we’ve seen from customers is how to handle pointer input and manipulations on elements inside of collection controls such as ListViews, GridViews, and FlipViews. The app can get the PointerPressed event on items inside the View, but after that the pointer events disappear and the app cannot convert them into gestures or…


Registration of the app failed. Another user has already installed a packaged version of this app. An unpackaged version cannot replace this…

Deployment of a development version of your Windows Store app package through Visual Studio 2012 can sometimes lead to an error that looks like this: Registration of the app failed. Another user has already installed a packaged version of this app. An unpackaged version cannot replace this. The conflicting package is <<YourApp package name>> and…


Skip the path: stick to the StorageFile

To build user confidence, a user’s files are protected from arbitrary access by Windows Store apps. This has produced a large number of threads in the Windows Store apps Forums from developers who are used to having full access to the file system and who don’t expect to need the user’s permission to view or…