Windows Store App Certification Kit Error

Sep 22, 2012 at 1:14 AM

Hello

I was trying to certify my app that using OxyPlot and the certification kit software gave me this error

 

Supported API test

FAILED
Supported APIs
  • Error Found: The supported APIs test detected the following errors:
    • API CreateFontW in gdi32.dll is not supported for this application type. OxyPlot.dll calls this API.
    • API DeleteDC in gdi32.dll is not supported for this application type. OxyPlot.dll calls this API.
    • API DeleteObject in gdi32.dll is not supported for this application type. OxyPlot.dll calls this API.
    • API GetTextExtentPoint32W in gdi32.dll is not supported for this application type. OxyPlot.dll calls this API.
    • API SelectObject in gdi32.dll is not supported for this application type. OxyPlot.dll calls this API.
    • API GetDC in user32.dll is not supported for this application type. OxyPlot.dll calls this API.
  • Impact if not fixed: Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements.
  • How to fix: Review the error messages to identify the API that is not part of the Windows SDK for Windows Store apps. Please note, C++ apps that are built in a debug configuration will fail this test even if it only uses APIs from the Windows SDK for Windows Store apps. See the link below for more information:
    Alternatives to Windows APIs in Windows Store apps.   

 

I 've used the OxyPlot Metro from the Nuget package  visual studio 2012

 

is there are any workaround I can make :) ??

 

thank you 

Coordinator
Sep 24, 2012 at 6:41 AM

I have excluded Svg\NativeMethods from the PCL/Metro project, let us know if this solves the problem!

Sep 24, 2012 at 10:31 AM
Edited Sep 24, 2012 at 10:32 AM

Amazing 

yes this solved my problem and I passed the verification kit.

 

Thank you :) :)

 

I am now waiting for the store to verify my app.

Coordinator
Sep 24, 2012 at 1:07 PM

Good! It would be interesting to see the resulting app (the first oxyplot based app in the store I guess) - can you post a link to the store when the app is verified?

Sep 24, 2012 at 9:49 PM

ofcourse I'll post the link once it is verified .. 

it is a simple app that parse a function and draw it with OxyPlot  .. (hope you like it when it is published)

for now I am waiting ...   :)

Sep 29, 2012 at 2:16 PM

 

Hi ,

 

I see that you are trying to get your app certified through the Windows Store.

I have run into a different problem than you , I am developing in VB and I link the runtime cv++ into my app as a reference. I found out that it is needed to make oxyplot work. My app runs fine in the development environment but when I go to verify the package it gives me the errors I describe below.

How did you get around this problem?

Thanks Jerry

 

Oxyplot works fine in my app when I run it in the development environment on vs2012.

I tried to package my app today for the windows store and ran into some problems.

I got an error message telling me the one of the components in my package needs VCLIBS version 11.0.50522.1 and that the version of VCLIBS I have installed on the machine is VCLIBS 11.0..... or not the same version needed to the component ( I assume a lower version)

I took vcblibs out of the references and tried to oxyplot  in the development environment and it did not work , so I verified that it is oxyplot that needs vclibs to execute.

Can you help me? do I have to get an updated C++ library from Microsoft to package oxyplot for the Windows Store? which version of the C++ library does oxyplot use?

You help would be greatly appreciated , I what to package the app and submit it to the store as soon as I can.

Thanks Jerry

Coordinator
Sep 29, 2012 at 5:07 PM

hi Jerry, did you use the latest version where I removed the native methods?

The references are optimized - OxyPlot.dll only depends on ".NET Portable Subset" and OxyPlot.Metro.dll only depends on ".NET for Windows Store apps" and "Windows". There are no dependencies on C++ code. Let me know if there are some other settings I need to change in the metro project files!

Sep 29, 2012 at 6:07 PM

Hi ,

 

I had downloaded the latest version so I took out the C++ reference and it worked , thank you , I have some other packaging issues to resolve but hope to submit to the windows store in the next couple of days Thanks again

 

Jerry

Oct 4, 2012 at 11:01 PM

Hello

my app has been certified at last .. after failed attempt in privacy statement

here is the link

http://apps.microsoft.com/webpdp/en-US/app/equation-calculator/6863c777-8a38-476f-a717-b33857bbb926

 

it is a simple app for manipulating mathematical expressions (it also can derivate expressions) .. hope you like it :) :)

 

cheers :)

 

Coordinator
Oct 9, 2012 at 7:26 PM
Edited Oct 9, 2012 at 8:01 PM

That's cool! I see you need zoom/pan functionality in the control, I plan to add that later this autumn. Then you could remove the min/max sliders, and use the actual min/max of the x-axis instead.

Oct 11, 2012 at 12:43 PM

this will be excellent.  I am happy that you liked the app.

I am planning also to add parametric functions for drawing 2D ..

a lot of ideas .. and your update will definitely be an added value :)