error CS0246: The type or namespace name 'HttpServer' could not be found (are you missing a using directive or an assembly reference?)

Nov 7, 2010 at 2:26 PM
Edited Nov 7, 2010 at 2:46 PM

Hi guys,

I'm fairly new to C#, I generally tend to use C++. I've been attempting to include HttpServer v1.1 in a new project in Visual Studio 2010. I am able to successfully add the .dll file as a reference and use the object browser to look through it, however the reference disappears when I attempt to compile my project and I receive the above error.

Could this be due to what versions of .NET the api is compatible with? I'm using .NET 4.0 at the moment in order to use certain features. If this is the case does version 2.0 support .NET 4.0 or is this error steming from elsewhere?

Many thanks.


EDIT: Solved, I was in client profile.