So I've seen similar questions asked regarding this but none of the answers ever solved my issue. So I'm going to ask for myself.
I have a web application written in C# with VS2010. The website runs perfect uncompiled. When I attempt to build the application, I get a lot of errors like: "The type or namespace name 'XXXXTableAdapter' could not be found (are you missing a using directive or an assembly reference?"
The pages are coded as: 'using XXXXTableAdapter;' which always shows an error in the intellisense.
The dataset XSD files have the Build Actions set to 'None' with the custom tool 'MSDataSetGenerator'. The file 'XXXXTableAdapter.Designer.cs' starts with 'namespace '{APP}.App_Code {' I read that you should be able to prefix the using XXXXTableAdapter; like using {APP}.App_Code.XXXXTableAdapter but I can never get this to work. I think I'm missing some code somewhere so I can access the tableadapters from any page using the application namespace.
Any ideas?