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?
LBGUC04Asked:
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
0
 
varunvnsCommented:
Hi LBGUC04,

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 http://msdn.microsoft.com/en-us/library/aa983476.aspx for some details.

Hope this helps!

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

Regards,
Varun Shringarpure
0
 
LBGUC04Author Commented:
n/a
0
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.