Why is an error in the access contact of the Windows Phone 7.1 SDK?

Source: Internet
Author: User

New Microsoft. phone. userdata. contacts reports system when accessing contact data. exception information. In fact, this cause may be because your project is upgraded from a Windows Phone 7 project. You only need to go to properties \ wmappmanifest in the project file. add in XMLCode, Declare the required permissions:

<Capability name = "id_cap_contacts"/>

The following compatibility statement is also added to the windowsphone 7.1 SDK:

<Capability name = "id_cap_isv_camera"/>
<Capability name = "id_cap_appointments"/>

Of course, if you are already a Windows Phone 7.1 project and encounter the above exceptions, you can also check whether the above Compatibility Statement exists. Finally, if your project does not have the similar permission, we recommend that you remove the statement when the software is finally released.
Related:

  • Microsoft. Phone. userdata namespace
  • Microsoft. Phone. userdata. Contacts class
  • Application manifest file for Windows Phone

Welcome to my independent blog: http://blog.tinytian.com/

    Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.