DEV Community

Discussion on: Help with some C#.Net

Collapse
 
kspeakman profile image
Kasey Speakman • Edited

I found the documentation here. It looks to me as if this namespace is actually found in the System.Web.ApplicationServices assembly. Try adding that reference to your project and see if it lights up.

Collapse
 
dev-i-am profile image
Derek

I found some articles online mentioning deleting bin and obj folders. Did just that, did build and it's all mysteriously just working now.
Thanks for the help people!

Collapse
 
kspeakman profile image
Kasey Speakman • Edited

Yeah, that was going to be my next suggestion. Sometimes the progressive rebuild stuff gets confused and mixes in some old versions of your compiled project that it had cached. Then you get weird errors for code that might not even be there anymore. Deleting bin and obj and then rebuilding are the VS equivalent of "have you tried turning it off and on again?" It happens just infrequently enough to us to not consider it the first thing to do however.