"ProfileCommon could not be found" error

G

Guest

Hello,
I have enabled Profiles in the web.config and seems to be working fine (I
can see the auto generated ProfileCommon class including my custom properties
in my \Temporary ASP.NET Files directory and I can see my Provider in the
ProfileManager.Providers ProfileProviderCollection).
BUT when I try to reference the ProfileCommon class in my VS project I get
"ProfileCommon could not be found".

Any ideas??
 
G

Guest

More info:
I have used Profiles on a test website project before with no problems.
I am now adding a new website project to an much larger VS solution.

When I compared the Temporary ASP.NET Files directories of these two
projects, I noticed some differences. In the project that works, the
ProfileCommon class is created inside a sub-directory named
'Sources_App_Code'. In the new project it is just created in the root of the
equivalent directory. I presume this is why VS has no reference to the class.

Thanks,
Adam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top