none
Failed certification RRS feed

  • Question

  • The latest version of my app failed certification during submission process. I changed few lines of code and I certainly did not add any additional API calls. The certification failed with following errors:

    • API GetModuleHandleW in api-ms-win-core-libraryloader-l1-1-0.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpAddRequestHeaders in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpCloseHandle in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpConnect in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpGetIEProxyConfigForCurrentUser in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpGetProxyForUrl in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpOpen in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpOpenRequest in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpQueryAuthSchemes in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpQueryDataAvailable in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpQueryHeaders in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpQueryOption in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpReadData in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpReceiveResponse in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpSendRequest in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpSetCredentials in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpSetOption in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpSetStatusCallback in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpSetTimeouts in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpWebSocketClose in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpWebSocketCompleteUpgrade in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpWebSocketQueryCloseStatus in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpWebSocketReceive in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpWebSocketSend in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpWebSocketShutdown in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.
      API WinHttpWriteData in winhttp.dll is not supported for this application type. System.Net.Http.WinHttpHandler.dll calls this API.

    I don't use any PInvoke in my code. How can I investigate what is wrong?

    Tuesday, April 24, 2018 2:13 PM

Answers

  • The issue have been solved by removing the System.Net.Http.WinHttpHandler NuGet package. It was probably caused by a new version of Visual Studio 2017 with an updated MSBuild which did not prune unused code as well as previous version.
    Wednesday, May 2, 2018 6:22 AM

All replies