Missing type or namespace name

Posted by Psytronic on Stack Overflow See other posts from Stack Overflow or by Psytronic
Published on 2010-06-16T10:25:24Z Indexed on 2010/06/16 10:32 UTC
Read the original article Hit count: 183

Filed under:
|

This is an odd one, not one I've come across before. My project complies and runs fine if I have my classes in the root folder (Not in App_Code).

As soon as I move them into the App_Code folder then it will compile, but running it will bring up the old

CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)

I don't understand how moving the class(es) to the App_Code folder causes the whole thing to fall apart there?

Project target is .Net 4 on VWD 2010 Express

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET