I’ve created new project using Microsoft visual Studio ,but got a compilation error as below:
- There is no script engine for file extension “.js”
- The command “CScript “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?
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