Every time I open a Javascript file with Visual Studio 2015 Pro RTM it crashes and restarts. No error messages.
I did a repair but I haven\'t tried uninstalling and rei
Ok I finally figured it out. It does have something to do with the _references.js file.
I had to clear out my _references.js file. After I had cleared out the contents of that file, visual studio would no longer crash when opening up javascript files.
This does work but you could lose your some of your intellisense in javascript. The issue occurs when I opened a js file that was not included in the _references.js file if there are entries in there. All I had to do is right click the _references.js file and click "Update Javascript References" and it worked fine.
Thanks everyone for your help.
try to clean cache of VS C:\Users\[user]\AppData\Local\Microsoft\VisualStudio\[version]\ComponentModelCache
or find other cache places
I had to clear out my _references.js file. After I had cleared out the contents of that file, visual studio would no longer crash when opening up javascript files.
Try to disable any 3rd party stuff, in an attempt to find the culprit that might be causing the problem. For instance, CodeRush, ReSharper, Web Essentials, etc. You can find all the ones you have installed under TOOLS->Extensions & Updates. Then look at the ones in the INSTALLED list. Disabling them doesn't uninstall them. You can always re-enable them again. You might have to do a few iterations of restarting Visual Studio during this endeavor.
f you click Debug button in the error pop windows, could you get any error message?
Tools->Options->Text Editor, could you see the JS editor there?
Maybe you could disable the option "Auto list members" under JS Editor, and then test it again.
If not Delete the .suo file and re-open and rebuild the proj file.
See this link.
This problem went away for me after creating a new .js file, and then opening the file I actually wanted to use.