ASP.NET MVC2: How to include js script/resource files compiled into dll?
Is there a way in ASP.NET MVC to reference the resource files compiled into dll on the master/view? I'm looking for something similar to the ASP.NET way:
I'm converting a custom asp server control to MVC html helper. It relies on some js script and I'd hate to tell the client "oh, and just include this file as a script on this page".
ANY kind of help (or even thoughts) would be highly appreciated :)
I've done this with CSS having the controller return a view that has a content type of "text/css". I'm sure the technique could be applied here as well.