I\'ve created new project using Microsoft visual Studio ,but got a compilation error as below:
The instructions for installing Cordova 2.1 for Windows Phone are not complete.
They say:
- copy the file CordovaStarter-x.x.x.zip to the folder : \My Documents\Visual Studio 2010\Templates\ProjectTemplates\
But that file is not supplied. There are updated instructions here (see section 2.1).
Here is the issue at apache: https://issues.apache.org/jira/browse/CB-1531
See also this question for more details: Not Able To Install Apache Cordova for Windows Phone7
This problem happens when your .js files become associated with something besides CScript. Usually it happens when you decide to make some text editor the default. You can reset it by typing this from a command line:
assoc .js=JSFILE
There is no script engine for file extension----- Try this :
http://www.microsoft.com/downloads/details.aspx?FamilyID=47809025-D896-482E-A0D6-524E7E844D81&displaylang=en