System.Web missing?

Threads

Regular
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 don't 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 didn't 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 doesn't 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 didn't let me access all the classes for some reason. I even tried it in C#, but it didn't work even with "using".
 
Sorry, I thought you meant with an Imports or using statement.

What's weird is on VS2002 I didn't need to add a reference like that to use it. When I get to work I'll check which classes are referenced by default to see if that could be one reason.
 
Back
Top