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 .csproj
file). All our script files are referenced in _references.js
.
The test file, when opened from Visual Studio, does not have any IntelliSense support for the files include in the project; there is nor jQuery support, nor custom scripts support. Please note that Vanilla JS IntelliSense works.
Is there a way of enabling IntelliSense support from the files references in _reference.js
, for JavaScript files that are not included in the project?