Visual Studio 2010 namespace not reognized when creating project

I have been using visual studio for some time and up until now have created New > WebSites however i have decided to start working with projects but when i created a project and copied over data layer code etc i have found that the namespace does not recognize the other class files even though they are all in the same App_Code folder. This should be simple and should work by default.

Does anyone know why it cant see them in the intellisence?
Who is Participating?
LBGUC04Connect With a Mentor Author Commented:
I have solved this now for some reason when i create a new class file in my poject the build action by default is set to content and should be compile

Please give some more details.. Like what exceptions do you get while compilation?

And did you try simply copying files from a Website to Web project??

I think you get to convert a Website to a Web Project.
Please refer to this link for some details.

Hope this helps!

In case of similar issues, please do refer to my blog!

Varun Shringarpure
LBGUC04Author Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.