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.