It appears that Visual Studio 2010 will skip references that are not formatted http://x.x... I'm trying 开发者_StackOverflowto 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?
You can use lvh.me which points to 127.0.0.1.
It works in VS2012
精彩评论