Restoring IntelliSense in web.config Editing

I picked up a great web.config workaround from Kent Sharkey's talk at the Victoria, BC code camp on Saturday.

If you're editing the web.config file in Visual Web Developer Express and not getting IntelliSense support, Try this:

Get rid of the xmlns namespace for the <configuration> element.

Instead of this:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

use this:

<configuration>

Bam! IntelliSense kicks in and you can stop guessing at the syntax.

Published Monday, April 10, 2006 12:01 PM by Ken Cox [MVP]

Comments

# re: Restoring IntelliSense in web.config Editing

Monday, April 10, 2006 7:31 PM by Fabio Cozzolino
Hi Ken,
you can solve definitively the problem by editing the WebAdminPage.cs file. You can find more info in my (italian) blog:
http://www.dotnetside.org/blogs/fabio/archive/2006/03/25/355.aspx

ciao

Leave a Comment

(required) 
(required) 
(optional)
(required)