locked
Supported API test FAILED windows 10 C# RRS feed

  • Question

  • Hello!

    I'd like to upload my app to store but when I check with WACK I get the following error.
    Error Found: The supported APIs test detected the following errors:


    API GetModuleHandleW in api-ms-win-core-libraryloader-l1-2-0.dll is not supported for this application type. msvcp140_app.dll calls this API.
    API GetFileAttributesW in api-ms-win-core-file-l1-2-1.dll is not supported for this application type. msvcp140_app.dll calls this API.
    API SetFilePointer in api-ms-win-core-file-l1-2-1.dll is not supported for this application type. msvcp140_app.dll calls this API.


    I don't realy understand this error because these APIs is supported according to Windows API Sets documentation.



    How can I resolve this problem?

    System: Windows 10, Visual Studio 2015 (not RC), Windows universal app, C#

    Thank you!



    • Edited by GIborTR Wednesday, September 9, 2015 10:21 PM missing language
    Wednesday, September 9, 2015 10:16 PM

Answers

  • It works.

    It was wrong because of old Sqlite 3 vsxi package (release date before 2015.07.30).

    You have to use new package (after 2015.07.30) and if you added the "Microsoft Visual C++ AppLocal Runtime PAckage" reference, delete it.

    Thank you.

    Bye



    • Edited by GIborTR Thursday, September 10, 2015 7:53 AM spelling
    • Proposed as answer by Fred Bao Friday, September 11, 2015 1:31 AM
    • Marked as answer by Fred Bao Wednesday, September 23, 2015 10:17 AM
    Thursday, September 10, 2015 7:44 AM

All replies

  • Did you use a dll to access the API?
    Wednesday, September 9, 2015 10:59 PM
  • I did not use any ddl as I know.

    How can I find out?

    I use Sqlite 3 for universall app platform maybe that's the problem?

    Thursday, September 10, 2015 6:38 AM
  • It works.

    It was wrong because of old Sqlite 3 vsxi package (release date before 2015.07.30).

    You have to use new package (after 2015.07.30) and if you added the "Microsoft Visual C++ AppLocal Runtime PAckage" reference, delete it.

    Thank you.

    Bye



    • Edited by GIborTR Thursday, September 10, 2015 7:53 AM spelling
    • Proposed as answer by Fred Bao Friday, September 11, 2015 1:31 AM
    • Marked as answer by Fred Bao Wednesday, September 23, 2015 10:17 AM
    Thursday, September 10, 2015 7:44 AM