System.Web missing?

Threads

Well-known member
Joined
Feb 4, 2003
Messages
65
Location
The Matrix
Maybe it is something I am doing wrong, but all the classes that are suppose to be in System.Web dont appear to be available for me.

I uninstalled VS2002 and installed VS2003 Enterprise, but I doubt that would have anything to do with it.

Even in the Object Browser, System.Web only contains:

AspNetHostingPermission
AspNetHostingPermissionAttribute
AspNetHOstingPermissionLevel

For the record, I am creating a windows forms application, but I have been able to use the other classes available in System.Web before (at least from work on VS2002).

Anyone have any ideas?
 
Yes, that was the first thing I did.

Even trying to just go at it by giving a fully qualified name didnt work. Plus, they should still show in the Object Browser.
 
By the way, I am running on Windows XP Pro, so I do meet the requirements to use the other classes within System.Web.

Also, I have uninstalled VS2003 Ent and even uninstalled the 1.1 Framework and reinstalled both, but it still doesnt show.
 
I figured out a way to get around this now.

Seems the only way I can use the classes I want, I had to use Add Reference to explicitly add System.Web.dll to the entire project.

Just doing an Imports System.Web at the top didnt let me access all the classes for some reason. I even tried it in C#, but it didnt work even with "using".
 
Sorry, I thought you meant with an Imports or using statement.

Whats weird is on VS2002 I didnt need to add a reference like that to use it. When I get to work Ill check which classes are referenced by default to see if that could be one reason.
 
Back
Top