-
Notifications
You must be signed in to change notification settings - Fork 713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows App Certification Kit #610
Comments
Any ideas @vladimir-kotikov? |
I was having the same issue when building my app using msbuild instead of right clicked on the project in vs2015 and creating the app store packages. Are you using the VS2015 right click to package the app for the store? Alternatively try setting
in the release property group of the |
Many thanks for your replay. I tried your suggestions but with no success. This solution produced the same errors. Then I tried changing the SQLite3.UWP.vcxproj file with no success either. Here is my file: I have another strange thing in VS2015. Searching the web for this errors I came across with many people refering the linking option or even the linking tab but I can't seam to find it. When I right click on the SQLite3.UWP.vcxproj file and select Properties nothing happens. I already have this app published in windows store using VS2013 but this new release using VS2015 is driving me nuts. I tried with a blank cordova project and only adding this plugin causes this error and Windows App Certification fails. Once again thanks for your time. |
@jabelcs this notification got lost in my inbox Ok so what you're doing looks to be right but it's obviously not working so i'll run you through how I get a build (i'm also dealing with referencing issue to do with this plugin but the work around I use for that might solve this issue to, hopefully!) So what I do for is run I then open the project in VS2015 and right click > Store > Create App Packages only the x86 configuration and choose to never bundle the output If you want to do an ARM or x64 version then just do the same thing but change the arch in the cordova build command. If you do ARM you will need to copy the ARM folder instead of the release folder out or the Let me know how you go, if you get stuck I can work up a script to automate this process as it's a little confusing |
Sorry about not responding earlier - totally forgot about this issue. @jabelcs, to properly diagnose the problem, could you please clean the solution and then create a packages and paste build output here. Also it'd be very helpful to know exact versions of Visual Studio and Tools for Apache Cordova extension versions - you can chech them in 'Help -> About Microsoft Visual Studio' menu |
@vladimir-kotikov thanks for the response. I just saw the following suggestions from @davidstoneham (truncated):
@vladimir-kotikov @davidstoneham do you think I should fix @davidstoneham thanks for your help so far. My one comment is that I do not like the idea of having the app developer manually create directories, copy build artifacts, etc. since this may lead to unreproducible and error prone results. @jabelcs it would be great if you can clean the solution and post the output from the build as requested by @vladimir-kotikov. Please let us know if anything is not clear or you have any other questions. |
Hello all. Many thanks for looking into this. My version of VS2015 is 14.0.25431.01 update 3; This is the output after cleaning the solution and then build: |
Hello all. Just a comment on this issue. This issue I reported is happenning on my work pc. Today I tried running the Windows App Certification Kit in my home pc with the same cordova application I'm develloping and it worked fine. At home I can deploy the application in Debug and Release modes and the app passes the Certification without any issues. Maybe the issue has to do with vs2015 update 3? |
@vladimir-kotikov do you have any thoughts about this? |
Sorry, didn't have much time to look into this, but what might be interesting is the following excerpt from log:
-- it looks like there are two instances SQLIte3.winmd and the second one overwrites the first one. Not sure why this happens - I haven't seen this before - but this indeed might be related to differencies between VS 2015 Updates 2 and 3. As for adding build settings to SQLite3 project - it might work in this particular case (at least it worth a try), but this is something I wouldn't recommend to add to the plugin because the results might be unpredictable and this might break other build scenarios |
Hi. Just to be sure I upgraded VS in my home machine to vs2015 update 3 and everything still works as expected. Now my home and work machines have the same version of VS2015 but somehow I just can't get the app to pass certification in work machine... |
@jabelcs thanks for trying the upgrade on your home machine. Are you sure that the work machine is using the latest version of Cordova and an updated version of Node.js? I can think of a few more ideas to try on your work machine:
Ideal might be to reinstall Windows on your machine, if practical for you. |
@jabelcs open the file |
@davidstoneham thanks. @jabelcs can you please confirm: on your home computer did you have to follow some or all of the steps described by @davidstoneham or not? |
@brodybits no, I did nothing just opened the solution and all worked fine. Thanks. |
@davidstoneham everything worked using the steps you described. No need to change any options or references from SQLite.UWP. For now I'll do things this way because my app deadline is near. Thank you all for your help. |
I'm developing a Cordova App using VS2015.
I'm able to build in debug and release modes but when I try to create app packages for windows store Windows App Certification Kit fails with the following errors:
Error Found: The binary analyzer test detected the following errors:
File c:\program files\windowsapps\38c6d89a.dietmedprofissional_1.0.4.0_x86__3bezmf8a4wq6j\SQLite3.UWP.dll has failed the SafeSEHCheck check.
File c:\program files\windowsapps\38c6d89a.dietmedprofissional_1.0.4.0_x86__3bezmf8a4wq6j\SQLite3.UWP.dll has failed the WXCheck check.
and:
Error Found: The supported APIs test detected the following errors:
API _CrtDbgReport in ucrtbased.dll is not supported for this application type. SQLite3.UWP.dll calls this API.
API _CrtDbgReportW in ucrtbased.dll is not supported for this application type. SQLite3.UWP.dll calls this API.
API __stdio_common_vsprintf_s in ucrtbased.dll is not supported for this application type. SQLite3.UWP.dll calls this API.
API _cexit in ucrtbased.dll is not supported for this application type. SQLite3.UWP.dll calls this API.
API _configure_narrow_argv in ucrtbased.dll is not supported for this application type. SQLite3.UWP.dll calls this API.
API _crt_at_quick_exit in ucrtbased.dll is not supported for this application type. SQLite3.UWP.dll calls this API.
API _crt_atexit in ucrtbased.dll is not supported for this application type. SQLite3.UWP.dll calls this API.
API _except1 in ucrtbased.dll is not supported for this application type. SQLite3.UWP.dll calls this API.
API _execute_onexit_table in ucrtbased.dll is not supported for this application type. SQLite3.UWP.dll calls this API.
API _free_dbg in ucrtbased.dll is not supported for this application type. SQLite3.UWP.dll calls this API.
Please help.
Thanks in advance.
The text was updated successfully, but these errors were encountered: