Windows Store App Certification Kit Error

Oystein Bjorke 5 years ago 0
This discussion was imported from CodePlex

IBlueSun wrote at 2012-09-22 03:14:

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 


objo wrote at 2012-09-24 08:41:

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


ibluesun wrote at 2012-09-24 12:31:

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.


objo wrote at 2012-09-24 15:07:

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?


ibluesun wrote at 2012-09-24 23:49:

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 ...   :)


doctorj wrote at 2012-09-29 16:16:

 

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


objo wrote at 2012-09-29 19:07:

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!


doctorj wrote at 2012-09-29 20:07:

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


ibluesun wrote at 2012-10-05 01:01:

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 :)

 


objo wrote at 2012-10-09 21:26:

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.


ibluesun wrote at 2012-10-11 14:43:

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 :)

 

 

CodePlex