R – “View in Browser” and “Browse with…” context menu entry on classic .asp files in VS

asp-classicbrowservisual studio

some bad legancy web application projects still have classic asp files. these project consist of 95% of classic .asp files and the rest only of asp.net (.aspx).

if you right click on an .aspx file in the solution explorer of VS you can choose "view in browser" and "browse with…".

however if i right click on an classic .asp file there, there is no such option!

do you have any tip/hint/addin for me so that it will show these two context menu entries also for .asp files?

i run all my projects in IIS not the build in casini web development server VS comes with!

thanks, toebens

Best Answer

The problem is that VS includes the Cassini web server out which it can deliver execution of ASPX files. However it does not include a processor for ASP pages, for that you need to run the ASP pages in IIS, hence there is no simple "Display in browser" since VS has no idea what URL to ask the browser to display.

Related Topic