我观察到一个奇怪的情况,我的应用程序在我的计算机上通过WACK,但由于API不受支持,在认证阶段提交到商店失败.我正在使用MSVC 15 Update 2.
解决方案包括:
>通用APP
>类库(通用Windows)
>类库(便携式)
> EF Core RC2
> Syncfusion SfChart.UWP.dll
商店认证输出:
Error Found: The supported APIs test detected the following errors:
- API sysctl in libc.dll is not supported for this application type. Microsoft.Extensions.PlatformAbstractions.dll calls this API.
- API uname in libc.dll is not supported for this application type. Microsoft.Extensions.PlatformAbstractions.dll calls this API.
- API RtlGetVersion in ntdll.dll is not supported for this application type. Microsoft.Extensions.PlatformAbstractions.dll
calls this API.
如上所述,WACK在我的机器上没有发现任何错误.我尝试了视觉工作室附带的WACK和单独安装的WACK.
“类库(便携式)”能否因为它的存在而导致这种情况?
更新:它不是便携式类库,我将其删除并仍然获得相同的认证失败.
解决方法
这是由entityFrameworkCore.Tools引起的.它们仍然是预发行版,并且不支持.net本地正常. 有一种解决方法,但您也可以在使用.net native编译它并将其提交到商店之前将其从项目中删除.