Questions tagged [references.js]

The `_refernces.js` file enables JavaScript IntelliSense in VisualStudio for the files added as references inside it.

The _refernces.js file enables JavaScript IntelliSense in VisualStudio for the files added as references inside it.

5 questions
4
votes
0 answers

Visual Studio 2015 _references.js UTF-16LE

In my installation of Visual Studio (Microsoft Visual Studio Community 2015), for MVC projecs, the _references.js file's character encoding is of type UTF-16LE, which prevents Git from recognizing textual differences when a change is made, treating…
2
votes
2 answers

Update Intellisense _references.js file for certain folders

We have a lot of legacy javascript code which spans about 300 different files in our project in Scripts folder. When I update _references.js file, all 300 files gets referenced and it bloats the Intellisense. We are moving on to new javascript code…
Gokhan Kurt
  • 8,239
  • 1
  • 27
  • 51
2
votes
0 answers

JavaScript Files Crash Visual Studio. Clearing "_refenences.js" fix the issue

Recently, when I open a JavaScript file on my solution (or open a razor CSHTML with some JavaScript on it), in Visual Studio 2013, after a while I get the error "The JavaScript language service has encountered an error and has been shut down" and I…
2
votes
1 answer

Visual Studio 2015 _references.js file is triggering "Conflicting Modifications Detected" dialog

I was adding the KendoUICore package to a project in VS2015, and this dialog came up 100's of time during the loading of the package. The _references.js file had the autosync turned on, so it was triggering for each .js file that was added. Very…
NerdBrick
  • 165
  • 11
1
vote
1 answer

IntelliSense & _references.js support for files not included in the project

I have a MVC project with several JavaScript script files. Some of these files need to be unit-tested. For that, we have a separate JS file. The test file is placed in the Scripts folder and is not included in the project (i.e. no reference in the…