Windows Phone 7 - Detecting and displaying required capabilities for your app

14 November 2010

Applications have failed certification because they haven’t correctly specificed the required capability of their applications in the WMAppManifest.xml file of their app.

There is a new Capability Detection tool in the Windows Phone Developer Tools October update that you can run to determine the capabilities of a DLL or Xap files. Provided below is a post build step you can add to your Windows Phone 7 (WP7) project so that you can check the capabilities of your app and ensure these are enabled correctly within the WMAppManifest.xml file.

set CAPDETECT=%ProgramFiles(x86)%Microsoft SDKsWindows Phonev7.0ToolsCapDetect
@echo Detecting Capabilities of "$(ProjectDir)$(ConfigurationName)"
CapabilityDetection.exe Rules.xml "$(ProjectDir)Bin$(ConfigurationName)"

You can download the update here if you already have the tools installed.

Want to get started?

We would love to help with your next app or game, please do get in touch.