microsoft / cordova-plugin-websql

Cordova WebSQL Plugin
Other
61 stars 40 forks source link

Getting error ..\plugins\cordova-plugin-websql\src\windows\SQLite.Proxy\bin\Release\SQLite.Proxy.pri not found #49

Open PADMAJA-K opened 7 years ago

PADMAJA-K commented 7 years ago

I have an issue taking build from Microsoft Visual studio Community 2015 while it works fine running to a device. Project >Store > Create App Packages returns me a build failed message showing error as \plugins\cordova-plugin-websql\src\windows\SQLite.Proxy\bin\Release\SQLite.Proxy.pri not found .When checked it was observed that the Release folder in the path defined is empty. Is there any possible scenario as to why SQLite.Proxy.pri and SQLite.Proxy.winmd files are not generated to the plugin folder. Please provide some work around for this issue.

daserge commented 7 years ago

@PADMAJA-K which is your build target (Windows 8.0, 8.1 or 10)? Have you tried retargeting SQLite.Proxy project to Windows 8.1? Note also that Windows 10 builds require architecture to be set so you would not get AnyCPU but x64, x86 and ARM packages instead. Alternatively you can try to build the project via Cordova CLI: https://cordova.apache.org/docs/en/latest/guide/platforms/win8/#signing-an-app

PADMAJA-K commented 7 years ago

Thanx alot @daserge

gauravshroff commented 7 years ago

Hi @PADMAJA-K @daserge I set the target to ARM for windows 10 still getting the error can you help ?

3

p-w commented 6 years ago

Hi @PADMAJA-K, hi @gauravshroff,

I had the same problems and solved it. Please use the new cordova plugin for indexedDB: https://github.com/Microsoft/cordova-plugin-indexedDB

My pull requests solves the issue: https://github.com/Microsoft/cordova-plugin-indexedDB/pull/15

Or find a useable version here: https://github.com/p-w/cordova-plugin-indexedDB

You can add it via CLI with: cordova plugin add https://github.com/p-w/cordova-plugin-indexedDB --save

Happy coding!