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:
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.
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.