locked
API FormatMessage in api-ms-win-core-localization-l1-2-0.dll is not supported for this application type. System.Diagnostics.Tracing.dll calls this API. RRS feed

  • Question

  • We have created an app with Unity 5.6.2f1 and Visual Studio 2017 community. The local App Cert Kit shows PASSED (no errors). But if we upload the app to the store, we get the following error:

    • API FormatMessage in api-ms-win-core-localization-l1-2-0.dll is not supported for this application type. System.Diagnostics.Tracing.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, apps that are built in a debug configuration or without .NET Native enabled (where applicable) can fail this test as these environments may pull in unsupported APIs. Retest your app in a release configuration, and with .NET Native enabled if applicable. See the link below for more information:

    Any ideas what could be the Problem?

    Thursday, July 13, 2017 5:58 AM

All replies

  • Hello,

    You might file a support ticket to get this specific issue reviewed .

    You could choose "Submit an incident" on that page( determine your "Issue Type" first):

    And you are welcomed to update here.

    Best Regards,

    Annievia Chen


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    Thursday, July 13, 2017 6:49 AM
  • I get exactly the same error message when I submit my app. And I have no idea what to do (the local App Cert Kit Shows passes). The app didn't change much since the last Submission only a few days ago. I have some feeling this is a problem of the store and not of the apps.

    Michael

    Friday, July 14, 2017 3:21 PM
  • I have now similar issue, only different API and UWP app:

    Error Found: The supported APIs test detected the following errors:
    • API FindFirstFileEx in api-ms-win-core-file-l1-2-0.dll is not supported for this application type. PInvoke.Kernel32.dll calls this API.

    Local App Cert Kit shows "Passed" and I was able to publish the same app one week ago. After that I updated only translations (no code changes) and now it is rejected. I already contacted dev center support (chat) but seems that they cannot do anything. Their best idea was to click the "Certification Report Feedback" button and wait 5-8 days. Sounds very promising.

    Monday, July 17, 2017 10:32 PM
  • Until last week I got this error, but I could simply resubmit the same file and it would succeed. Now it fails again and again. Trying to contact support in the meantime, but now the users miss a great update which was planned to get out before the weekend.

    The good thing is that MS isn't focusing on mobile so there aren't a lot of users missing these features this weekend...


    Geert van Horrik Visit my blog: http://www.geertvanhorrik.com Looking for a free open-source MVVM framework for all platforms with good support and documentation? Check out Catel at http://www.catelproject.com!

    Friday, July 21, 2017 12:50 PM
  • I have now similar issue, only different API and UWP app:

    Error Found: The supported APIs test detected the following errors:
    • API FindFirstFileEx in api-ms-win-core-file-l1-2-0.dll is not supported for this application type. PInvoke.Kernel32.dll calls this API.

    Local App Cert Kit shows "Passed" and I was able to publish the same app one week ago. After that I updated only translations (no code changes) and now it is rejected. I already contacted dev center support (chat) but seems that they cannot do anything. Their best idea was to click the "Certification Report Feedback" button and wait 5-8 days. Sounds very promising.

    Did you ever hear back from the certification report feedback?  I am currently encountering this same error.
    Friday, July 21, 2017 6:30 PM
  • I contacted chat and this guy said they are investigating and coming back as soon as it's fixed.

    Geert van Horrik Visit my blog: http://www.geertvanhorrik.com Looking for a free open-source MVVM framework for all platforms with good support and documentation? Check out Catel at http://www.catelproject.com!

    Friday, July 21, 2017 6:38 PM
  • Hello,

    I am trying to submit an update to my app on the Windows store, but it fails during the certification step on the Supported APIs test. The certification report shows the following error:

    Error Found: The supported APIs test detected the following errors:
    • API FindFirstFileEx in api-ms-win-core-file-l1-2-0.dll is not supported for this application type. PInvoke.Kernel32.dll calls this API.

    When I run the Windows Application Certification Kit on the same package that I am uploading, the same Supported APIs test passes.

    There seems to be a couple of other people also experiencing this: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/2e5a00bb-357e-4902-ab2d-ebd138c9a1e0/api-formatmessage-in-apimswincorelocalizationl120dll-is-not-supported-for-this-application?forum=wpsubmit

    Thanks,

    William

    Monday, July 24, 2017 3:46 PM
  • I am experiencing the same problem when submitting my UWP app:

    • API FindFirstFileEx in api-ms-win-core-file-l1-2-0.dll is not supported for this application type. PInvoke.Kernel32.dll calls this API.

    I started with Chat support, where I was then directed to submit an incident report, where I was then directed to post on this forum or pay for advanced tech support, so I have been unsuccessful is getting any more information thus far.


    • Edited by jkhM3224 Monday, July 24, 2017 7:20 PM
    Monday, July 24, 2017 6:57 PM
  • I started with Chat and was directed here as well. I tried changing the target version as seen in the link below but unfortunately I received the same result.

    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/4ae84f63-1597-4c09-b17c-bc2449eeb0f0/uwp-windows-10-app-certification-failure-supported-api-test?forum=wpdevelop

    Monday, July 24, 2017 7:22 PM
  • I contacted chat and this guy said they are investigating and coming back as soon as it's fixed.

    Geert van Horrik Visit my blog: http://www.geertvanhorrik.com Looking for a free open-source MVVM framework for all platforms with good support and documentation? Check out Catel at http://www.catelproject.com!

    If you find any additional information, please let us know - I tried submitting an incident, as suggested by Annievia Chen above, but was told to post in these forums or pay for advanced tech support.
    • Edited by jkhM3224 Monday, July 24, 2017 7:39 PM
    Monday, July 24, 2017 7:39 PM
  • I started with Chat and was directed here as well. I tried changing the target version as seen in the link below but unfortunately I received the same result.

    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/4ae84f63-1597-4c09-b17c-bc2449eeb0f0/uwp-windows-10-app-certification-failure-supported-api-test?forum=wpdevelop

    The target version change had no impact for me as well; I received the same certification failure.
    Monday, July 24, 2017 8:44 PM
  • I tried resubmitting the same app package that was previous approved for the Windows Store on 6/15/2017, and it failed today with the same error message.

    • API FindFirstFileEx in api-ms-win-core-file-l1-2-0.dll is not supported for this application type. PInvoke.Kernel32.dll calls this API.

    Monday, July 24, 2017 9:54 PM
  • Linking the stackoverflow question here for anyone still having this problem. Good thinking, jkh.

    Basically it's a known issue and Microsoft is working on it, add a note somewhere (notes for certification? cert report feedback?) and resubmit.

    https://stackoverflow.com/questions/45288395/uwp-app-submission-failure-due-to-unsupported-api-findfirstfileex-wack-passes-l

    Tuesday, July 25, 2017 3:51 PM
  • Has anyone heard from Microsoft directly beyond what Peter has said in the stackoverflow response? Submitting with information in the Notes for Certification doesn't seem to have any effect and any feedback I have submitted from my cert reports remains untouched.
    Tuesday, July 25, 2017 7:28 PM
  • Has anyone heard from Microsoft directly beyond what Peter has said in the stackoverflow response? Submitting with information in the Notes for Certification doesn't seem to have any effect and any feedback I have submitted from my cert reports remains untouched.
    No, the StackOverflow response is the only response that I have gotten.  My latest certification failed again, even with the additional notes.
    Tuesday, July 25, 2017 11:12 PM
  • The latest that I heard from Chat Support is that it is a known issue, but there isn't a way to get my app certified until it is fixed.  They entered a service request and promised to send weekly updates until the issue is resolved...
    Wednesday, July 26, 2017 12:15 AM
  • You can rebuild a pinvoke library without a FindFirstFileEx import.
    • Edited by YashinAnton Wednesday, July 26, 2017 5:57 AM
    Wednesday, July 26, 2017 5:57 AM
  • Just got a response back. According to the team, the fix to this issue should have been deployed last Friday (August 4th). Mine didn't work yet, but maybe we need to create a completely new submission instead of just resubmitting the failed one. Waiting for a reply for that one.

    Geert van Horrik Visit my blog: http://www.geertvanhorrik.com Looking for a free open-source MVVM framework for all platforms with good support and documentation? Check out Catel at http://www.catelproject.com!

    Saturday, August 5, 2017 9:10 AM
  • Just got a response back. According to the team, the fix to this issue should have been deployed last Friday (August 4th). Mine didn't work yet, but maybe we need to create a completely new submission instead of just resubmitting the failed one. Waiting for a reply for that one.

    Geert van Horrik Visit my blog: http://www.geertvanhorrik.com Looking for a free open-source MVVM framework for all platforms with good support and documentation? Check out Catel at http://www.catelproject.com!

    I just tried submitting it as a new submission (instead of just resubmitting the failed one), but got the same certification failure.

    Last Wednesday, I was told "We hope to have the issue resolved by the end of the week."  On Friday afternoon, I received a follow-up, "...our engineers are investigating the issue" so it didn't sound like it was actually resolved.

    Monday, August 7, 2017 5:09 PM
  • I have gotten some emails from last week stating that my submission was passed, but I've been told to resubmit and have been trying in that way so I think they certified a submission that had been deleted or overwritten. My current strategy is going to be just sitting tight and hoping they review my current submission soon.
    Wednesday, August 9, 2017 6:04 PM