Bagikan melalui


The AdControl Requires Certain Capabilities

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.

Comments

  • Anonymous
    December 06, 2011
    Can we use it on WPF desktop application ? Thanks

  • Anonymous
    December 07, 2011
    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