PhoneGap for Windows Phone - there is no script ".js" for the file extension

I created a new project using Microsoft Visual Studio, but received a compilation error, as shown below:

  • There is no script ".js" for the file extension
  • CScript command c: \ users \ raja \ documents \ visual studio 2010 \ Projects \ EasyMed.3 \ EasyMed.3 / BuildManifestProcessor.js c: \ users \ raja \ documents \ visual studio 2010 \ Projects \ EasyMed.3 \ EasyMed.3 \ EasyMed.3.csproj "" exited with code 1.

Any idea?

+7
source share
3 answers

This problem occurs when your .js files become associated with something other than CScript. This usually happens when you decide to make some kind of default text editor. You can reset it by typing this from the command line:

assoc .js=JSFILE

+38
source

The installation instructions for Cordova 2.1 for Windows Phone are not complete.

They say:

  • copy the CordovaStarter-xxxzip file to the folder: \ My Documents \ Visual Studio 2010 \ Templates \ ProjectTemplates \

But this file is not supplied. The following are updated instructions (see Section 2.1).

Here is the problem on apache: https://issues.apache.org/jira/browse/CB-1531

See also this question for more details: Unable to install Apache Cordova for Windows Phone7

+1
source

There is no script mechanism for file extension ----- Try the following:

http://www.microsoft.com/downloads/details.aspx?FamilyID=47809025-D896-482E-A0D6-524E7E844D81&displaylang=en

+1
source

All Articles