Within a WEB SITE project (not a Web Site Application) in VS2008, the following line
ProfileCommon profile = HttpContext.Current.Profile as ProfileCommon;
keeps throwing the error 'The type or namespace name 'ProfileCommon' could not be found (are you missing a using directive...'
I'm using System.Web.Profile; in VS2008 Standard with .NET 3.5
I understand that ProfileCommon is dynamically created but how do I stop the error?
Thanks for your help.