Using Microsoft OCR Library with JS/jQuery in VS 2013 Using Microsoft OCR Library with JS/jQuery in VS 2013 javascript javascript

Using Microsoft OCR Library with JS/jQuery in VS 2013


This look like a VS Tools for Apache Cordova (TACO) issue.
As a workaround you can open platforms\windows\CordovaApp.sln, switch architecture to x64, add Nuget package to the CordovaApp.Windows project references, save (build will fail because of an issue in the PreBuild event:

<PreBuildEvent>    cd /d $(MSBuildThisFileDirectory)    node -e "require('C:\\Users\\{username}\\AppData\\Roaming\\npm\\node_modules\\vs-tac\\lib\\hooks.js').updateAppxManifest('C:\\ocrTest\\ocrTest\\platforms\\windows','C:\\ocrTest\\ocrTest\\platforms\\windows\\..\\..\\')"</PreBuildEvent>

you can also try to temporarily clear it out to enable builds of the underlying projects).

Then open the parent Cordova project - it should work now.

This will work only for one architecture though so for ARM and Windows Phone you may need another copy (set CordovaApp.Phone as startup project, add Nuget package to it and switch to ARM).

Note: I was testing this on VS 2015 & Cordova Tools upd.1.