customize visual web developer

Last post 03-23-2008 1:44 PM by Mikhail Arkhipov (MSFT). 4 replies.

Sort Posts:

  • customize visual web developer

    01-16-2006, 11:39 PM
    how do i configure visual web developer to treat .html files as .aspx files? I wanna have .html extension to all the aspx files.
  • Re: customize visual web developer

    01-17-2006, 7:14 PM
    • Loading...
    • danmor
    • Joined on 11-04-2002, 9:48 PM
    • Bellevue, WA
    • Posts 907
    • AspNetTeam
    You can just change the file extension to ".aspx" and they will be compiled by the .NET Framework as they would any other aspx page, even if they contain no server-side code and just raw HTML.
    -Dan
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: customize visual web developer

    01-18-2006, 1:07 AM
    Thanks

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

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: customize visual web developer

    03-23-2008, 10:05 AM
    I have figured his out. Go to VWD options. Select show all options. Look for extensions in editor. Add the desired extension and select webform editor. Now VWD will treat the file with this extension as a aspx page.
  • Re: customize visual web developer

    03-23-2008, 1:44 PM

    You also need to change web.config settings. Changing editor association in VWD does not change ASP.NET runtime configuration. Therefore ASP.NET will not process html files as aspx at runtime unless you also properly specify it in web.config.

    Thanks

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

    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (5 items)
Microsoft Communities
Page view counter