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 10 April 2006 12:01 PM by Ken Cox [MVP]

Comments

# Fabio Cozzolino said on 10 April, 2006 07:31 PM
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) 

Search

Go

This Blog

Web Links

Syndication