Cordova-sqlite-storage: Building cordova project in VS 2017

Created on 28 Mar 2017  路  7Comments  路  Source: storesafe/cordova-sqlite-storage

Hi,

I am testing this plugin with [email protected].

After reading about the differences in the 1.x and the 2.0.x branch, I am now trying to build the cordova project with cordova-sqlite-storage@edge (2.0.2).

The 1.x.x version of the plugin would only result in errors , complaining about VsToolset.

I have installed the @edge branch, but VS2017 is still complaining.

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(370,5): warning MSB8003: Could not find VCToolsInstallDir variable from the registry. TargetFrameworkVersion or PlatformToolset may be set to an invalid version number. [C:\dev\trdbuss\plugins\cordova-sqlite-storage\src\windows\SQLite3-Win-RT\SQLite3\SQLite3.UWP\SQLite3.UWP.vcxproj]

Any clues to what I should do next, would be helpful.

Thank you.

bug-general question doc-todo testing user community help discussion doc-pitfall doc-general build

Most helpful comment

@SkogDev, @brodybits, sorry for late response, adding @matrosov-nikita to take a look at this error

All 7 comments

I did not have a chance to upgrade to VS 2017 yet but I did test with VS 2017 RC.

Reaching out to @vladimir-kotikov in case you have any ideas or clues.

@SkogDev, @brodybits, sorry for late response, adding @matrosov-nikita to take a look at this error

Hi guys, sorry for late reply, I was able to reproduce this issue and find solution by installing an additional workload (Desktop development with C++) for VS2017.

workload-for-sqlite-plugin

@SkogDev, @brodybits, could you please check whether it works for you?

@matrosov-nikita your solution definitely sounds right to me. I still did not get a chance to upgrade from VS2017RC. Also I do not think NET desktop development is (or should be) required to build this plugin.

@brodybits, yeah, definitely, it's not required

I just opened https://github.com/litehelpers/Cordova-sqlite-help/issues/16. I think this belongs in the help pages when I get a chance.

Hi,

I build a release using visual studio 2017 but it resulting in an error while uploading it on windows app store.
SQLite3.UWP.dll is in debug mode while deployin on windows app store.

Was this page helpful?
0 / 5 - 0 ratings