p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

aspdotnet_website_programming thread: System.Web


Message #1 by "Chris Schiffhauer" <chris@w...> on Fri, 21 Jun 2002 01:59:13
Hello,

I'm following the book's code for inserting "using System.Web;" at the top 
of the PhilePage.cs file, and VS.NET is telling me "The type or namespace 
name 'Web' does not exist in the class or namespace 'System'..."  Does 
anybody know how I can get VS.NET to recognize this?

Thanks,
Chris
Message #2 by David Barnes <DavidB@w...> on Fri, 21 Jun 2002 11:14:19 +0100
Hi Chris

To use the System.Web namespace you need to add a reference to
System.Web.dll:

- Project | Add Reference...
- Select System.Web.dll from the list on the .NET tab

However, the book does not contain full instructions for creating the site.
You will not be able to recreate the site from the instructions in the book.
You need the download. We took this decision so that we could fit much more
useful highlights into a relatively easy-to-carry book.

Regards

David
Editor, Wrox Press

> -----Original Message-----
> From: Chris Schiffhauer [mailto:chris@w...]
> Sent: 21 June 2002 02:59
> To: Website Programming with ASP.NET
> Subject: [aspdotnet_website_programming] System.Web
> 
> 
> Hello,
> 
> I'm following the book's code for inserting "using 
> System.Web;" at the top 
> of the PhilePage.cs file, and VS.NET is telling me "The type 
> or namespace 
> name 'Web' does not exist in the class or namespace 
> 'System'..."  Does 
> anybody know how I can get VS.NET to recognize this?
> 
> Thanks,
> Chris
> 

  Return to Index