应用程序需要共享用户证书,但在商店中不允许

Shared User Certificates Required for Application but disallowed in Store

我编写了一个简单的 UWP 应用程序来播放由 RFID 标签触发的媒体。此功能需要启用共享用户证书功能才能连接到卡 reader 使用:

smartCardReader = await SmartCardReader.FromIdAsync(deviceInfo.Id);

如果我删除此功能,我会收到 System.UnauthorizedAccessException(访问被拒绝)。

当我运行申请认证时我得到:

   Warning: The app has declared the following special use capabilities: 
   *The app has declared the sharedUserCertificates capability.*   
   Impact if not fixed: If you don’t have a company account with the Windows Store, you won’t be able to upload this app.

由于我没有公司帐户,这意味着我无法将此应用程序上传到商店进行私人分发。除了将此应用程序旁加载到所需机器上之外,我还能做些什么来解决此限制?

Is there anything I can do to work around this limitation besides side-loading this application onto the required machines?

对于私人分发,如果您无法上传商店提交,Hockey App 可以作为一个选项。

它仍然使您的应用程序通过旁加载安装到用户的机器上。但它可以方便您的分发,它可以帮助收集崩溃报告以及从用户那里获得反馈。