应用认证WP8.1 Silverlight

时间:2015-11-11 18:25:07

标签: silverlight windows-phone-8.1 windows-store-apps xap

我有一个功能齐全的应用程序,我在几部手机上进行了本地测试。我现在准备发布应用程序以进行封闭测试,这导致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上的问题可以类似吗?

1 个答案:

答案 0 :(得分:0)

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