visual-studio-cordova

Install specific version of Cordova CLI in Visual Studio 2017

让人想犯罪 __ 提交于 2019-11-28 00:21:16
I need to do some updates to a Cordova app created using Visual Studio 2017 Tools for Apache Cordova (TACO). The Cordova CLI version listed in the config.xml file is 6.3.1 and the cordova-ios platform version is 4.2.0 When I try to build the project (using a Mac with XCode 8.3.3, I get this error Build failed with error Remotebuild requires your projects to use cordova-ios 4.3.0 or greater with XCode 8.3. Please update your cordova-ios version. I don't see any updates to TACO in VS2017 or instructions in the Microsoft documentation for Apache Cordova Tools. Ideally, I'd like to make the most

Updating Node & NPM VS Cordova update 5

天涯浪子 提交于 2019-11-28 00:03:16
问题 I just download the VS Apache Cordova Tools Update 5 and I'm running into problems with Node and NPM. I am using the default blank cordova project for testing. Versions If I run a gulp check for Node and NPM within my VS Project I get: Node version = v0.10.31 and NPM version = 1.4.9 . However, I also have installed Node version = v5.4.1 and NPM version = 3.3.6 Problem When I publish using Cordova CLI 5.3.3 I get the following error When I change the Cordova CLI to 5.4.1 I get the following

Visual studio 2015 deletes file on save - cordova Solution

一世执手 提交于 2019-11-27 20:49:19
I've just updated windows to the creative suite, and now when i run visual studio to develop my app (using an apache cordova solution), when ever i hit save on a file, it removes the file from the solution and closes the editing window for the file. I can do a CTRL+F for content within the file, then it will open the file again and bring it back to the solution, but now the file in the solution has no 'lock' icon. I have tried updating visual studio, but apparently i have the latest version of update 3 already. It wasn't doing this before this morning which is when i got the creators update

Visual Studio Cordova iOS build server setup

回眸只為那壹抹淺笑 提交于 2019-11-27 20:14:32
问题 I have a problem with finding stuff about how to compile cordova apps from visual studio (desktop) on my macbook without parallels and similar things. I googled that stuff, but I found nothing relevant, or with parallels/vmware stuff. I added some insight what I want to do in my comments, yet pasted it here: nope, I mean, I have two devices: the desktop, where I have Windows 8.1 and a macbook pro mid 2012. And I want to (start a) build the cordova app from my desktop, but run it on my macbook

The TypeScript Compiler was given no files for compilation, so it will skip compiling

房东的猫 提交于 2019-11-27 18:42:44
问题 When i am trying to Build my default JavaScript project(BlankApp Apache Cordova) in Visual Studio 2015 preview am getting following error. The TypeScript Compiler was given no files for compilation, so it will skip compiling. Steps Taken in visual studio 2015 preview: File -> New -> Project -> Apache Cordova apps(under Javascript templates). Run the default project with Android Emulator. Getting the following error. Warning 2 The TypeScript Compiler was given no files for compilation, so it

Visual Studio 2015 RTM Cordova project won't debug/deploy to Android, Windows, Windows Phone

不想你离开。 提交于 2019-11-27 16:22:53
问题 I've got a feeling I upgraded to Visual Studio 2015 RTM too early. Visual Studio Emulator for Android would no longer launch, claiming that the pre-release version had expired. I ran the RTM installer, allowing it to replace Release Candidate components as needed. The process ran smoothly, but now after upgrading, Cordova projects will no longer deploy or debug. With the Release Candidate, the toolbar's green Start button had a dropdown for choice of device. Now with RTM version, this button

Cordova Content Security Policy

谁说胖子不能爱 提交于 2019-11-27 13:04:00
问题 I have a Cordova app and after upgrading (5.0.0) it I'm unable to call any resource at all. I've added the whitelist plugin and added the following tag to index.html <meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' *.azure-mobile.net localhost:1337 *.ajax.aspnetcdn.com"> I got the following errors: Refused to load the script 'http://ajax.aspnetcdn.com/ajax/mobileservices/MobileServices.Web-1.2

VS2015 - Change TypeScript Version

大憨熊 提交于 2019-11-27 12:39:14
I am trying to update my Visual Studio 2015 + Cordova + TypeScript project to use TypeScript version to 1.6.0-beta . I am currently using 1.5.3 . I am able to use NPM to install the latest version, but my project continues using the old version. npm install -g typescript How can I make my project use the latest TypeScript version? Locations of TypeScript Versions: 1.5.3 = C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.5 1.6.0-beta = C:\Users\XXX\AppData\Roaming\npm --------------------- Updated 9/4/2015 -------------------------- I updated the projects .jsproj file XML element

Unable to start debugging in Visual Studio RTM for cordova app

自古美人都是妖i 提交于 2019-11-27 12:26:09
I have a project that was working on RC and worked with no problems. Updated to RTM and now I cannot start the application I also created a new black cordova app and still can't start the application. Looked everywhere and found no reference to this problems. Others suggest that environment variables are not set or tools not installed. I triple checked and environment variables are fine and tools are indeed installed. I uninstalled everything (including git) from programs and features and reinstalled vs2015 RTM with no success, same problem. I also installed extra stuff from android sdk

Error: SetSite failed for package [ApacheCordovaToolsPackage]

99封情书 提交于 2019-11-27 12:01:36
问题 I just installed both Visual studio 2015 and visual studio cordova tools. It wrked fine and i was able to create a project with it. I then installed ionic cli, and suddenly i am getting the error SetSite failed for package [ApacheCordovaToolsPackage] I have tried repairing Visual studio and cordova tools to no avail. Any help? 回答1: The steps in this MSDN forum post worked for me. Reproducing for Googleability: Find the installer for Visual Studio 2015 in your installer cache. cd /d "