Search code examples
windows-store-appswin-universal-appuwp.net-nativeapp-certification-kit

App passes WACK but fails store submission Certification


I am observing a strange situation where my app passes WACK on my computer, but submission to the store fails at Certification stage, due to unsupported APIs. I am using MSVC 15 Update 2.

Solution Consists of:

  1. Universal APP
  2. Class Library (Universal Windows)
  3. Class Library (Portable)
  4. EF Core RC2
  5. Syncfusion SfChart.UWP.dll

Store Certification output:

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.

As mentioned, no errors are spotted by WACK on my machine. I tried both WACK that comes with visual studio and WACK that's installed separately.

Could "Class Library (Portable)" cause this just by it's existence?

Update: It's not the portable class library, i removed it and still get the same certification failure.


Solution

  • This was caused by entityFrameworkCore.Tools. They are still pre-release and do not support .net native properly. There is a workaround, but you can also simply remove it from the project before compiling it with .net native and submitting it to the store.