2

Closed

Fails Windows App Certification Kit

description

This toolkit makes the Windows Store App (Windows 8) fail the Windows App Certification Kit test.
http://msdn.microsoft.com/en-us/windows/apps/jj572486.aspx

Error Found: The supported APIs test detected the following errors:
  • API CreateFileMappingA in kernel32.dll is not supported for this application type. Sparrow.Chart.WinRT.45.dll calls this API.
  • API MapViewOfFile in kernel32.dll is not supported for this application type. Sparrow.Chart.WinRT.45.dll calls this API.
Impact if not fixed: Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements.

How to fix: Review the error messages to identify the API that is not part of the Windows SDK for Windows Store apps. Please note, C++ apps that are built in a debug configuration will fail this test even if it only uses APIs from the Windows SDK for Windows Store apps. See the link below for more information:

Alternatives to Windows APIs in Windows Store apps.
http://msdn.microsoft.com/library/windows/apps/hh464945.aspx

Will this issue be addressed soon? As it is it seems this great toolkit violates the Windows Store certification requirements and no Windows 8 app will be able to use it.
Closed Jul 17, 2013 at 12:30 PM by vinothsparrow
Issue fixed

comments

SealightPT wrote Jul 17, 2013 at 11:47 AM

If we remove these references on Sparrow.Chart.ContainerCollection it passes app certification kit validation

private static extern IntPtr CreateFileMapping
private static extern IntPtr MapViewOfFile

wrote Jul 17, 2013 at 12:27 PM

vinothsparrow wrote Jul 17, 2013 at 12:30 PM

Hi,

Thanks for reporting and provide the fix for the issue.

As This line is only needed in WPF, i have commented out this line for WinRT .

Please take an update in Nuget

Thanks,
Vinoth Kumar J

wrote Jul 17, 2013 at 12:30 PM

nikhilshirgaonkar wrote May 18, 2016 at 5:21 AM

Hi Vinoth I'm facing similar problem below is the error I'm getting while running WACK
Supported APIs
Error Found: The supported APIs test detected the following errors:
This API is not supported for this application type - Api=CreateFileMappingA. Module=kernel32.dll. File=Sparrow.Chart.WP8.45.dll.
This API is not supported for this application type - Api=MapViewOfFile. Module=kernel32.dll. File=Sparrow.Chart.WP8.45.dll.
Impact if not fixed: Using an API that is not part of the Windows SDK for Windows Phone Store apps violates the Windows Phone Store certification requirements.
How to fix: Review the error messages to identify the API that is not part of the Windows SDK for Windows Phone Store app. Please note, apps that are built in a debug configuration can fail this test as these environments may pull in unsupported APIs. Retest your app in a release configuration.
I had upgraded my Windows phone 8 app to Windows phone Silverlight 8.1
Can you please help to resolve this issue.