2016-08-02 11 views
1

Ich bin neu in der Windows-App-Entwicklung. Ich habe eine C# app-Targeting gebaut, Microsoft Windows 10 Desktop & mobile Plattformen. Meine C# app ruft in Windows-Runtime-Komponenten in C++ geschrieben (C++/cx).UWP Windows-10 WACK-Tests Fehler

Ich folgte diesem MSDN Link, um WACK-Test zu laufen.

Ich habe Windows App Certification Kit 10.0 auf meinem Computer installiert. Um den Test auszuführen, mache ich Store App validieren -> Wählen Sie meine App aus der Liste der installierten Anwendungen auf dem Computer. Meine App ist im Freigabemodus installiert. Wenn ich WACK Test ausführen, Unterstützte API-Test schlägt mit folgenden:

 

API [email protected]@@[email protected] in vccorlib140.dll is not supported for this application type. sample.dll calls this API. 
    
API [email protected]@@[email protected]@Z in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@@[email protected] in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@@[email protected] in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@[email protected]@@[email protected] in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@[email protected]@@[email protected] in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@[email protected]@@[email protected] in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@[email protected]@@[email protected] in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@[email protected]@@[email protected] in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@[email protected]@[email protected] in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@[email protected]@[email protected]@@@Z in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@[email protected]@[email protected] in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@[email protected]@@AAEXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@[email protected]@[email protected]@[email protected]@@Z in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@[email protected]@[email protected] in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@YGXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@[email protected] in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@YGXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@YGXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@YGXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@YGXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@YGXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@YGXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@YGXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@YGXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@YGXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@YGXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@YGXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@YGXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@YGXXZ in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API ?__abi_tran[email protected]@[email protected] in vccorlib140.dll is not supported for this application type. sample.dll calls this API.
API _CxxThrowException in vcruntime140.dll is not supported for this application type. sample.dll calls this API.
API __CxxFrameHandler3 in vcruntime140.dll is not supported for this application type. sample.dll calls this API.
API __std_exception_copy in vcruntime140.dll is not supported for this application type. sample.dll calls this API.
API __std_exception_destroy in vcruntime140.dll is not supported for this application type. sample.dll calls this API.
API __std_terminate in vcruntime140.dll is not supported for this application type. sample.dll calls this API.
API __std_type_info_destroy_list in vcruntime140.dll is not supported for this application type. sample.dll calls this API.
API __telemetry_main_invoke_trigger in vcruntime140.dll is not supported for this application type. sample.dll calls this API.
API __telemetry_main_return_trigger in vcruntime140.dll is not supported for this application type. sample.dll calls this API.
API __vcrt_InitializeCriticalSectionEx in vcruntime140.dll is not supported for this application type. sample.dll calls this API.
API _except_handler4_common in vcruntime140.dll is not supported for this application type. sample.dll calls this API.
API _purecall in vcruntime140.dll is not supported for this application type. sample.dll calls this API.
API memcpy in vcruntime140.dll is not supported for this application type. sample.dll calls this API.
API memmove in vcruntime140.dll is not supported for this application type. sample.dll calls this API.
API memset in vcruntime140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@@YAXXZ in msvcp140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@@[email protected] in msvcp140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@@[email protected] in msvcp140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@[email protected]@[email protected] in concrt140.dll is not supported for this application type. sample.dll calls this API.
API [email protected]@@[email protected] in concrt140.dll is not supported for this application type. sample.dll calls this API.
API [email protected][email protected]@[email protected]@IAEXXZ in concrt140.dll is not supported for this application type. sample.dll calls this API.
API [email protected][email protected]@[email protected]@[email protected]@[email protected]@@Z in concrt140.dll is not supported for this application type. sample.dll calls this API.
API GetModuleHandleW in kernel32.dll is not supported for this application type. sample.dll calls this API.
API TlsAlloc in kernel32.dll is not supported for this application type. sample.dll calls this API.
API TlsFree in kernel32.dll is not supported for this application type. sample.dll calls this API.
API TlsGetValue in kernel32.dll is not supported for this application type. sample.dll calls this API.
API TlsSetValue in kernel32.dll is not supported for this application type. sample.dll calls this API.
API UnhandledExceptionFilter in kernel32.dll is not supported for this application type. sample.dll calls this API.

Beim weiteren googeln, fand ich diese Link-1 und Link-2


Die mögliche Lösung in den obigen Links KB zu deinstallieren ist 2976978 update & wiederholen WACK-Tests MS Support Error Link
Mein Computer scheint dies nicht zu haben KB 2976978 Update obwohl.
Control Panel \ Programme \ Programme und FunktionenInstallierte Updates anzeigen oder Suche Installierte Updates scheint nicht das obige Update zu finden.
Ich habe dies geprüft: SO post erwähnt Wie in diesem Beitrag SO auch in meinem Fall alles mit /ZW/EHsc/D Flaggen
Meine VS Details fein kompiliert sind:

 
MS Visual Studio Professional 2015 

Version 14.0.25123.00 Update 2
MS .NET Framework
Version 4.6.01038

Jede Hilfe wird in hohem Grade geschätzt.

Antwort

3

Das Problem war, dass meine C++ nativen lib Desktop-CRT (vccorlib140.dll) statt store CRT-DLL (vccorlib140_app.dll). Der DLL wurde Referenzierung

Die App, da Desktop-CRT wurde Referenzierung, ich meine App mit Libs aus diesem Ort verbindet:

C: \ Program Files (x86) \ Microsoft Visual Studio 14.0 \ VC \ lib

Schaltet einen Store App wir libs von diesem Standort verweisen müssen bauen:

C: \ Program Fi les (x86) \ Microsoft Visual Studio 14.0 \ VC \ lib \ speichern