ASP.NET 3.5 Web Site stopped importing System namespace by default
Posted
by Alexis
on Stack Overflow
See other posts from Stack Overflow
or by Alexis
Published on 2010-04-13T16:49:11Z
Indexed on
2010/04/13
16:53 UTC
Read the original article
Hit count: 426
I have a VB Web Site project that has recently (and mysteriously) stopped importing the "System" namespace by default. I'm having to either place a "Imports System" line at the top of each code behind, or preface everything with "System", which is fairly annoying, not to mention redundant. I can't for the life of me figure out how to get the System namespace back to being imported by default. I've already checked to see that WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config contains the <add namespace="System"/>
line--it does. That was my best lead. I'm tearing my hair out. Does anyone have any suggestions?
© Stack Overflow or respective owner