問題描述
每次我使用 Visual Studio 2015 Pro RTM 打開 Javascript 文件時,它都會崩潰并重新啟動.沒有錯誤信息.
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 reinstalling yet. Is anyone else having this problem?
推薦答案
好吧,我終于想通了.它確實與 _references.js 文件有關.
Ok I finally figured it out. It does have something to do with the _references.js file.
我必須清除我的 _references.js 文件.在我清除該文件的內容后,Visual Studio 在打開 javascript 文件時將不再崩潰.
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.
這確實有效,但您可能會在 javascript 中丟失一些智能感知.當我打開一個未包含在 _references.js 文件中的 js 文件(如果其中有條目)時,就會出現此問題.我所要做的就是右鍵單擊 _references.js 文件并單擊更新 Javascript 引用",它工作正常.
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.
感謝大家的幫助.
這篇關于打開 Javascript 文件時 Visual Studio 2015 崩潰的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!