I have a project that is added as a link to System.Web.
However, it cannot pick up the HttpContext. Performing this action:
Imports System.Web _ApplicationBase = HttpContext.Current()
Tells me that the HttpContext is not declared. If you look at the methods and properties inside System.Web, it is unlikely to be shown: only AspHostingPermission, AspHostingPermissionAttribute, AspHostingPermissionLevel and Services.
The link is valid and points to the right place. It drives me crazy - what did I miss?
Cheers, Matt
source share