2016-08-02 27 views
1

私はWindowsアプリケーション開発を初めて利用しています。私はC#アプリケーションをターゲットにして、Windows 10デスクトップ&モバイルプラットフォームを構築しました。私のC#アプリは、C++(C++/cx)で書かれたWindowsランタイムコンポーネントを呼び出します。UWP Windows-10 WACKテストエラー

私はWACKテストを実行するためにこれに続いてMSDN Linkを実行しました。

私にはWindows App Certification Kit 10.0がインストールされています。テストを実行するには、Store Appの検証 - >マシンにインストールされているアプリのリストから自分のアプリを選択してください。私のアプリはリリースモードでインストールされています。私はWACKテストを実行すると、サポートされている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]@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]@YGJHPAKPBU[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 [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.

をさらにグーグルでは、私は上記のリンクでこれらLink-1Link-2


可能な解決策は、KB 2976978をアンインストールすることです発見しました更新&再実行WACKテストMS Support Error Link
私のマシンはこれを持っていないようですKB 2976978更新します。
コントロールパネル\プログラム\プログラムと機能Viewはまたは検索がインストールされているアップデートインストールアップデート doesntのは、上記のアップデートを見つけるように見えます。
私はこのチェックしています

 
MS Visual Studio Professional 2015 

Version 14.0.25123.00 Update 2
MS .NET Framework
Version 4.6.01038

すべてのヘルプは非常に次のようになります。
私のVSの詳細があるフラグをこの中で述べたようにSO postをSO掲示でも私の場合には、すべてが/ZW/EHsc/Dで罰金コンパイル感謝。

答えて

3

問題は、私のC++のネイティブlibには、代わりに店のCRTのDLL(vccorlib140_app.dll)のデスクトップCRT DLLの(vccorlib140.dll)を参照して、ということでした。

アプリはので、私はこの場所からのlibsと私のアプリリンクされたデスクトップCRT参照しました:

C:\プログラムファイルのMicrosoftのVisual Studio \(x86の)14.0 \ VC \ libに

私たちはこの場所からLIBSを参照する必要がストアアプリを構築することが判明:

はC:\ Program Fiのles(x86)\ Microsoft Visual Studio 14.0 \ VC \ lib \ store

関連する問題