Instead of a *.cs code behind or beside I\'d like to have a *.js file. I\'m developing a MVC application an have no need for a code beside because I have controllers, but i
Whilst the other solutions here (editing the project file) work for individual files, we've done the same thing, but want it to work automagically for all *.conv and *.conv.js files rather than having to edit the project file for each one.
When we add a new .conv file to our app, if we have a *.conv.js file it automatically nests under it as you'd expect with .aspx and *.aspx.cs.
I can't find the original tutorial I used to set this up (it does involved registry hacking) but here is one I found from a Google search just now that describes the same thing:
http://blog.dotnetwise.com/2009/09/visual-studio-2008-custom-nested-files.html