Intellisence not working in web.config?

Visual Studio 2005 has an interesting "feature" where Intellisence will not pop up when you're editing a web.config file. Annoying eh? Well, I found that removing the namespace from the configuration tag kicks it all back into life.

Change the following line

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

to

<configuration>
Author Paul Hayman

Paul is the COO of kwiboo ltd and has more than 20 years IT consultancy experience. He has consulted for a number of blue chip companies and has been exposed to the folowing sectors: Utilities, Telecommunications, Insurance, Media, Investment Banking, Leisure, Legal, CRM, Pharmaceuticals, Interactive Gaming, Mobile Communications, Online Services.

Paul is the COO and co-founder of kwiboo (http://www.kwiboo.com/) and is also the creator of GeekZilla.

Comments

Clinton Gallagher said:

Its the Website Administration Tool that will write the attribute and break Intellisense in web.config so if you use the WAT remember to go back into web.config to clean up the mess the puppy left on the floor.

22/Sep/2008 16:44 PM

Add Comment

Name
Comment
 

Your comment has been received and will be shown once it passes moderation.