Threads Posted November 23, 2003 Posted November 23, 2003 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? Quote mov ax, 13h int 10h
*Experts* mutant Posted November 23, 2003 *Experts* Posted November 23, 2003 Did you add a reference to the assembly called System.Web? Quote
Threads Posted November 23, 2003 Author Posted November 23, 2003 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. Quote mov ax, 13h int 10h
Threads Posted November 23, 2003 Author Posted November 23, 2003 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. Quote mov ax, 13h int 10h
Threads Posted November 24, 2003 Author Posted November 24, 2003 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". Quote mov ax, 13h int 10h
*Experts* mutant Posted November 24, 2003 *Experts* Posted November 24, 2003 That is excatly what I meant when I asked if you added a reference. :) Quote
Threads Posted November 24, 2003 Author Posted November 24, 2003 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. Quote mov ax, 13h int 10h
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.