应用认证 WP8.1 Silverlight

App Certification WP8.1 Silverlight

我有一个功能齐全的应用程序,我已经在多部手机上进行了本地测试。我现在准备发布该应用程序进行封闭测试,这导致 XAP 文件有各种不受支持的 API,但是当我在解决方案中搜索它们时,我找不到任何参考。

有人有这方面的经验吗?

不支持的代码段 APIS

This API is not supported for this application type - Api=lstrcmpW. Module=api-ms-win-core-string-obsolete-l1-1-0.dll. File=vstest.exe.  
This API is not supported for this application type - Api=GetModuleFileNameW. Module=api-ms-win-core-libraryloader-l1-1-1.dll. File=vstest.exe.
This API is not supported for this application type - Api=GetModuleHandleA. Module=api-ms-win-core-libraryloader-l1-1-1.dll. File=vstest.exe.
This API is not supported for this application type - Api=LoadLibraryExW. Module=api-ms-win-core-libraryloader-l1-1-1.dll. File=vstest.exe.
This API is not supported for this application type - Api=CreateProcessW. Module=api-ms-win-core-processthreads-l1-1-1.dll. File=vstest.exe.
This API is not supported for this application type - Api=GetStartupInfoW. Module=api-ms-win-core-processthreads-l1-1-1.dll. File=vstest.exe.
This API is not supported for this application type - Api=WaitForSingleObject. Module=api-ms-win-core-synch-l1-2-0.dll. File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=inet_pton. Module=ws2_32.dll. File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=WsAcceptChannel. Module=webservices.dll. File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=WsAlloc. Module=webservices.dll. File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=WsCloseChannel. Module=webservices.dll. File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=WsCloseListener. Module=webservices.dll. File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=WsSendMessage. Module=webservices.dll. File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=Microsoft.Phone.Shell.CycleTileData. Module=. File=Cimbalino.Phone.Toolkit.Background.dll.
This API is not supported for this application type - Api=Microsoft.Phone.Shell.FlipTileData. Module=. File=Cimbalino.Phone.Toolkit.Background.dll.
This API is not supported for this application type - Api=Sleep. Module=api-ms-win-core-synch-l1-2-0.dll. File=vstest.exe.
This API is not supported for this application type - Api=GetTickCount. Module=api-ms-win-core-sysinfo-l1-2-0.dll. File=vstest.exe.
This API is not supported for this application type - Api=RtlCaptureContext. Module=api-ms-win-core-rtlsupport-l1-2-0.dll. File=vstest.exe.
This API is not supported for this application type - Api=RtlVirtualUnwind. Module=api-ms-win-core-rtlsupport-l1-2-0.dll. File=vstest.exe.
This API is not supported for this application type - Api=SetUnhandledExceptionFilter. Module=api-ms-win-core-errorhandling-l1-1-1.dll. File=vstest.exe.
This API is not supported for this application type - Api=UnhandledExceptionFilter. Module=api-ms-win-core-errorhandling-l1-1-1.dll. File=vstest.exe.
This API is not supported for this application type - Api=TerminateProcess. Module=api-ms-win-core-processthreads-l1-1-1.dll. File=vstest.exe.
This API is not supported for this application type - Api=_fmode.    Module=msvcrt.dll. File=vstest.exe.
This API is not supported for this application type - Api=wcscat_s. Module=msvcrt.dll. File=vstest.exe.
This API is not supported for this application type - Api=wcscpy_s. Module=msvcrt.dll. File=vstest.exe.
This API is not supported for this application type - Api=wcslen. Module=msvcrt.dll. File=vstest.exe.File=vstest.executionengine.WindowsPhone.dll.File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=__dllonexit. Module=msvcrt.dll. File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=_amsg_exit. Module=msvcrt.dll. File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=_initterm. Module=msvcrt.dll. File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=_lock. Module=msvcrt.dll. File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=_onexit. Module=msvcrt.dll. File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=_unlock. Module=msvcrt.dll. File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=_vsnwprintf. Module=msvcrt.dll. File=vstest.executionengine.WindowsPhone.dll.Module=msvcrt.dll. File=vstest.executionengine.WindowsPhone.dll.
This API is not supported for this application type - Api=wcslen. Module=msvcrt.dll. File=vstest.executionengine.WindowsPhone.dll.

解决一个问题的任何帮助都可以让我有希望地解决另一个问题吗?

更新 我发现一份参考资料有一个问题,我已更新并删除了 API 错误。但是其他关于vstest的我就不懂了?

我读到 android 有类似的内容,他们在编译前删除了这些内容。 WP 上的问题可以类似吗?

基于this similar thread,为了解决上述问题,请尝试删除这两个引用(Microsoft Visual Studio Windows Phone Test Core 和 MSTest for托管项目),之后请重建您的项目和 运行 Windows Phone 商店测试工具包以帮助您准备好应用程序在 Windows Phone 中被接受商店。