Skip to content Skip to sidebar Skip to footer

JavaScript Intellisense In Empty ASP.Net Core Project

I do not have JavaScript intellisense working after installing jQuery 2.2.4 (as one example) in a ASP.Net Core 1.0 (461) structured application. This means we now have wwwroot/lib

Solution 1:

You can right-click on the project, click add and you will see the option for _reference.js file,

enter image description here

This will _references.js file to your Scripts folder at the root, but this option does not appear at wwwroot (Don't know why, it can VS tooling issue for ASP.NET Core you can create an issue on GitHub about this at here.) just drag _references.js file to wwwroot (At root), delete the Scripts folder and make sure that autosync is true that you have already and start trying Bower packages and intellisense file will be updated accordingly without manually doing yourself. I've tried it now and it is working fine.


Post a Comment for "JavaScript Intellisense In Empty ASP.Net Core Project"