来自本地主机的 Visual Studio 动态 javascript 参考智能感知
看来 Visual Studio 2010 将跳过未格式化的引用 http://xx...我正在尝试使用
/// <reference path="http://localhost:12946/js/fancytest" />
来生成智能感知动态 JavaScript 结果,无需经历设置子域的麻烦。
我使用过 fiddler,发现如果我不包含子域,Visual Studio 会完全忽略我的引用。没有尝试向我的脚本控制器发出请求。
有谁知道是否有解决方法?
It appears that Visual Studio 2010 will skip references that are not formatted http://x.x... I'm trying to use
/// <reference path="http://localhost:12946/js/fancytest" />
to generate intellisense for a dynamic javascript result without going through the hassle of setting up a subdomain.
I've used fiddler and found that Visual Studio is entirely ignoring my reference if I don't include a subdomain. No request to my script controller is attempted.
Does anyone know if there is a workaround for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用指向 127.0.0.1 的 lvh.me。
它可以在 VS2012 中运行
You can use lvh.me which points to 127.0.0.1.
It works in VS2012