Windows :: System ::个人资料名称空间中缺少RetailInfo类

RetailInfo class is missing in Windows::System::Profile namespace

本文关键字:RetailInfo System 个人资料 Windows 空间      更新时间:2023-10-16

我有UWP应用程序,我需要在其中包含零售模式体验。

根据Microsoft文档,我需要使用

零售业公用事业类中的iSdemodeenabled属性, Windows 10 SDK中的Windows.system.System.Profile名称空间的一部分

我安装了带有所有Windows 10 SDK的Visual Studio 2017 V 15.4.4。

Windows.system..profile(C#Project)也没有Windows :: System ::个人资料命名空间(C /CX Project)。

为了在Windows :: System :: profile?

中获得零售类别,我应该安装什么

参考 ->添加参考 -> Universal Windows-> Extensions-> UWP的Windows Mobile Extensions(版本10.0.10240.0)做了技巧。

如何在项目中添加对UWP的Windows移动扩展的引用