Wednesday, July 4

Web.Config Gotcha

Midway into the project we sometimes realize that the intellisense in the web.config has vanished all of a sudden. The culprit being this line.

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

Removing the xmlns attribute from the configuration tag brings back the intellisense for the Web.Config.

10 <configuration>

I saw this on one of the dnrtv shows, so credit goes to the author Miguel Castro.




Labels:


Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]