locked
Supported API test - Windows App Certification Kit failed

    Question


  • Hi, I have following issue when i was tested in WACK tool.. Please let me the solution.


    FAILED

    Supported APIs
      • Error Found: The supported APIs test detected the following errors:
        • API System.Diagnostics.TraceLevel in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Diagnostics.TraceLevel in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.IO.FileInfo in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.IO.DirectoryInfo in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.IO.FileSystemInfo in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Threading.ThreadStart in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Type.op_Equality(System.Type,System.Type) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Type.GetType(System.String,System.Func{System.Reflection.AssemblyName,System.Reflection.Assembly},System.Func{System.Reflection.Assembly,System.String,System.Boolean,System.Type}) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Type.op_Inequality(System.Type,System.Type) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Type.EmptyTypes in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Type.GetInterface(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Reflection.MemberInfo.GetCustomAttributesData in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Reflection.CustomAttributeData.get_Constructor in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Reflection.CustomAttributeNamedArgument.get_MemberInfo in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Reflection.MethodInfo.op_Inequality(System.Reflection.MethodInfo,System.Reflection.MethodInfo) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Reflection.ConstructorInfo.op_Inequality(System.Reflection.ConstructorInfo,System.Reflection.ConstructorInfo) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Reflection.PropertyInfo.op_Inequality(System.Reflection.PropertyInfo,System.Reflection.PropertyInfo) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Type.GetEnumName(System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Environment.GetEnvironmentVariable(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Enum.ToObject(System.Type,System.Int32) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Threading.Thread.Sleep(System.Int32) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Type.get_Module in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Reflection.Assembly.get_Location in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.IO.FileInfo.#ctor(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.IO.FileInfo.get_Directory in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.IO.DirectoryInfo.GetFiles in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.IO.FileSystemInfo.get_Name in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.IO.FileSystemInfo.get_Extension in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.String.Compare(System.String,System.String,System.Boolean,System.Globalization.CultureInfo) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Environment.Exit(System.Int32) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Threading.ThreadStart.#ctor(System.Object,System.IntPtr) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Threading.Thread.#ctor(System.Threading.ThreadStart) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Threading.Thread.Start in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. vstest.executionengine.appcontainer.exe calls this API.
        • API System.Timers.ElapsedEventArgs in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.UnhandledExceptionEventArgs in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.ServiceModel.ServiceHost in SYSTEM.SERVICEMODEL, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Timers.Timer in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Security.Principal.WindowsIdentity in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.ComponentModel.Component in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.AppDomain in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.UnhandledExceptionEventHandler in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Diagnostics.Process in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Timers.ElapsedEventHandler in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Runtime.CompilerServices.RuntimeWrappedException in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.AppDomainUnloadedException in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.ServiceModel.ServiceBehaviorAttribute in SYSTEM.SERVICEMODEL, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.ServiceModel.ServiceSecurityContext in SYSTEM.SERVICEMODEL, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.ComponentModel.Component.Dispose in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.AppDomain.get_CurrentDomain in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.UnhandledExceptionEventHandler.#ctor(System.Object,System.IntPtr) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.AppDomain.add_UnhandledException(System.UnhandledExceptionEventHandler) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Diagnostics.Process.GetProcessById(System.Int32) in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Diagnostics.Process.set_EnableRaisingEvents(System.Boolean) in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Diagnostics.Process.add_Exited(System.EventHandler) in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Timers.Timer.set_Enabled(System.Boolean) in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Timers.ElapsedEventHandler.#ctor(System.Object,System.IntPtr) in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Timers.Timer.add_Elapsed(System.Timers.ElapsedEventHandler) in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Timers.Timer.Start in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Diagnostics.Process.GetCurrentProcess in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Diagnostics.Process.get_Id in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.ServiceModel.ServiceHost.#ctor(System.Object,System.Uri[]) in SYSTEM.SERVICEMODEL, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.ServiceModel.ServiceHost.AddServiceEndpoint(System.Type,System.ServiceModel.Channels.Binding,System.Uri) in SYSTEM.SERVICEMODEL, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.UnhandledExceptionEventArgs.get_ExceptionObject in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.UnhandledExceptionEventArgs.get_IsTerminating in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Threading.WaitHandle.Close in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Timers.Timer.#ctor(System.Double) in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Threading.Thread.Sleep(System.Int32) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.ServiceModel.ServiceBehaviorAttribute.#ctor in SYSTEM.SERVICEMODEL, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.Security.Principal.WindowsIdentity.GetCurrent in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
        • API System.ServiceModel.OperationContext.get_Channel in SYSTEM.SERVICEMODEL, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.
      • API System.ServiceModel.OperationContext.GetCallbackChannel``1 in SYSTEM.SERVICEMODEL, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll calls this API.

    Monday, January 28, 2013 2:03 PM

Answers

  • Are you testing a Release build? It looks like you have a lot of test code live in the package you're trying to certify. You can't include the test DLLs in your released package.

    --Rob

    • Marked as answer by Min ZhuMember Monday, February 11, 2013 7:54 AM
    Wednesday, February 6, 2013 8:23 AM
    Moderator

All replies

  • Hi Anuss,

    The result indicates you use unsupported APIs in your app. You can see the list of the supported APIs in this documenation http://msdn.microsoft.com/en-us/library/windows/apps/br211369.aspx .

    Best regards,


    Min Zhu
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, February 6, 2013 2:04 AM
    Moderator
  • Are you testing a Release build? It looks like you have a lot of test code live in the package you're trying to certify. You can't include the test DLLs in your released package.

    --Rob

    • Marked as answer by Min ZhuMember Monday, February 11, 2013 7:54 AM
    Wednesday, February 6, 2013 8:23 AM
    Moderator
  • I am running into the same problem, did you solve it ?

    • Edited by SaraSalah Monday, April 1, 2013 10:43 AM
    Monday, April 1, 2013 10:42 AM
  • I am having the same problem, testing in release build and I don't have any text dlls,
    do you know what else can cause this problem ?
    Monday, April 1, 2013 10:45 AM
  • Any one got any solution for this problem?
    Tuesday, December 2, 2014 1:02 PM
  • The initial poster was including debug libraries in his build.

    You'll need to provide more details about what you specifically are doing if you need help diagnosing your problem. Please open a new thread with details on your app and errors.

    Thursday, December 11, 2014 4:48 PM
    Moderator