Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Getting .asax in VS.NET 2003

I looked all over the google, err..I mean the internet and also the google groups...err...I mean the newsgroups and still couldn't find the answer I was looking for so...figure I'll post it here and maybe someone that knows the answer will pick it up.

I'm doing an ASP.NET project in VS.NET 2003...and I'd like to be able to just double-click (or F7) on my global.asax file and have it load into the editor. I know I can remove the CodeBehind directive so that VS.NET can't make the connection but, I'd like to be able to view Global.asax even if the CodeBehind directive is in there.

Anybody know what I need to do to make that happen? When I hit F7 now, VS.NET just tells me there isn't an application associated with the .asax extension (even though Windows itself shows VS.NET as the editor for .asax files in Windows Explorer).

6 Comments

  • Open you project, then right cliek the asax file which in solution explorer and select the "open with.." menu item. ok, select "Html/xml editor" and then click the "open" button, you will get what you want.

    btw, you can also click "set as default" button which in the dialog, so that you can just double-click to open it next time .



    hope it'll be useful.

  • The best hearts are always the bravest.

    -----------------------------------

  • -----------------------------------------------------------
    "my God, i believed you have been heading to chip in with some decisive insght at the end there, not depart it with ‘we leave it for you to decide’"

  • "Anyway, I guess I am a trifle off topic here?!!!. Exactly... It seems to be like that! Ha, Ha, Ha.!."

    --------------------------------------------------------------------
    Chemistry and Chemical Biology

  • "you know, i used to be just considering of how poor people are obtaining when they're trying to market a web site, i imply, as an example, look at this site, absolutely nothing but spam. seems so desperate, why not only do advertisements as opposed to spamming all of the time."

  • This is|This really is} quite fascinating, You might be a really skilled blogger. I’ve joined your rss feed and look forward to seeking far more of your magnificent post. Also, I've shared your website in my social networks!

Comments have been disabled for this content.