Mike Ormond's Blog

Musings on mobile development and Windows Phone 7 in particular.

The AdControl Requires Certain Capabilities

The AdControl Requires Certain Capabilities

  • Comments 2

In my post last week I talked about the Advertising SDK and using the AdControl in our applications as a means of generating revenue. I should have mentioned something that could catch you out – the AdControl requires certain capabilities to be defined in your app manifest. Specifically:

For Silverlight apps you’ll need:

  • ID_CAP_IDENTITY_USER
  • ID_CAP_MEDIALIB
  • ID_CAP_NETWORKING
  • ID_CAP_PHONEDIALER
  • ID_CAP_WEBBROWSERCOMPONENT

For XNA apps you’ll need:

  • ID_CAP_IDENTITY_USER
  • ID_CAP_NETWORKING
  • ID_CAP_PHONEDIALER

More details in the MSDN documentation here.

For more about capabilities and specifically, determining the minimum set of capabilities your app needs to function correctly, see “How to: Determine Application Capabilities” on MSDN.

  • Can we use it on WPF desktop application ?

    Thanks

  • As far as I know you're limited to Windows Phone applications and websites but if I were you I'd check the Microsoft Advertising site. Mike

Page 1 of 1 (2 items)