ContactManager.RequestStoreAsync() throws System.UnauthorizedAccessException

后端 未结 2 949
心在旅途
心在旅途 2020-12-21 12:24

I am trying to use the ContactManager class in the Windows 10 Universal apps API. I am trying to do this on a Windows 10 Desktop machine.

I am receiving an exception

2条回答
  •  春和景丽
    2020-12-21 12:41

    As of 2018, there is such capability listed on Capabilities tab when visually editing the Package.appxmanifest, at least in VS2017. Anyway, the

    
    

    is the crucial thing required in manifest.

提交回复
热议问题