visual studio 2015 - VS2015: Prevent download of dynamically generated JavaScript reference by "JavaScript Language Service" -
please see below image.. note timestamps -- computer not activity. problem seems happen whenever have *.js or *.cshtml file open.
i have turned off "download remote references (e.g. http://) files in miscellaneous files project" in javascript -> intellisense -> general, problem continues.
i tried moving inclusion of "doorbell.io.js" bundle rather _layout.cshtml file, didn't work.
how can prevent vs downloading javascript reference?
to fix immediate issue
remove offending line "_references.js". save. problem should stop immediately.
/// <reference path="doorbell.io.js" />
future considerations...
note default references set auto-sync. means if ever refresh sources, such nuget or adding javascript file manually, offending file added in. can disable functionality right-clicking inside file , unselecting auto-sync javascript references
if decide disable feature, can still manually update them update javascript references
menu item.
note @ point in time there no easy way prevent specific file re-appearing on list. need remove manually every time visual studio generates list on behalf.
Comments
Post a Comment