|
 |
aspdotnet_website_programming thread: Setting up the project in Visual Studio
Message #1 by "Frode" <fstroemm@o...> on Wed, 9 Oct 2002 19:50:10
|
|
Hello,
following the book 'Asp.net website programming' I have met a problem...
At page 61. I'm requested to make a C# class library, using a project
called 'Controls'
At page 64 I'm to add a web user control SiteHeader.ascx to Controls
folder. I'm not allowed to do this as there's already a project with the
same name. The project menu lists just ' Add User Control' ,
not 'Add Web User Control' as I guess I'm supposed to do.
I'm kinda new to working with Visual Studio so I hope to get some help
here.
thanks
- Frode
Message #2 by "Charles Walsek" <cwalsek@w...> on Wed, 9 Oct 2002 17:15:53 -0400
|
|
Hello Frode,
I went through the same thing; I too found getting started to be a bit
confusing. What I did was to add a folder to ThePhile Project, called
'Controls'. Then I did a right-click on the folder, and used the context
menu to add a Web User Control called SiteHeader. Within this same folder,
I eventually ended up with 3 more Web User Controls: SiteFooter, Header, &
Footer.
Stick with it. You might encounter more pot holes, but the effort is well
worth it. This is an outstanding book.
Kindest regards,
--Chas
>
> I'm kinda new to working with Visual Studio so I hope to get some help
> here.
>
Message #3 by "Frode" <fstroemm@o...> on Thu, 10 Oct 2002 20:44:45
|
|
hi again.
I'm stuck at end of chapter 3 with this errors like this one:
c:\inetpub\wwwroot\ThePhile\Controls\SiteFooter.ascx.cs(9): The type or
namespace name 'WebModules' does not exist in the class or
namespace 'Wrox' (are you missing an assembly reference?)
My Core project compiles fine but not the whole solution. I wish they had
described how to build the site from scratch rather than presume you load
the finished solution. The book is not that many pages as it is.
- Frode
> Hello Frode,
I went through the same thing; I too found getting started to be a bit
confusing. What I did was to add a folder to ThePhile Project, called
'Controls'. Then I did a right-click on the folder, and used the context
menu to add a Web User Control called SiteHeader. Within this same folder,
I eventually ended up with 3 more Web User Controls: SiteFooter, Header, &
Footer.
Stick with it. You might encounter more pot holes, but the effort is well
worth it. This is an outstanding book.
Kindest regards,
--Chas
>
> I'm kinda new to working with Visual Studio so I hope to get some help
> here.
>
|
|
 |