I used code from here and I get the following error:
Can’t use HttpContext.Current.Server.MapPath()
In Visual Studio 2008 does the ContextMenuEntry “Solve” help you when you have missing references?
I already found out that HttpContext is not a member of System.Web in my IDE.
According to Help > Info I am using .NET 3.5 SP1.
How do I get that running?
How do u usually react in this situation? What stuff do u look for in msdn.com?
What I would do in that situation is look on MSDN (or Google) for
HttpContext. I did that, and it says it’s inSystem.Web. So make sure your project has a reference toSystem.Web.… and then it seems to work: