p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   BOOK: Beginning ASP.NET 4.5.1 : in C# and VB (http://p2p.wrox.com/book-beginning-asp-net-4-5-1-c-vb-754/)
-   -   CS0246 The type or namespace name 'BasePage' could not be found (http://p2p.wrox.com/book-beginning-asp-net-4-5-1-c-vb/100048-cs0246-type-namespace-name-basepage-could-not-found.html)

dkeller October 30th, 2018 04:06 PM

CS0246 The type or namespace name 'BasePage' could not be found
 
I was getting this error in Chapter 6 and I figured I made a mistake. After lots of time and frustration, I decided to open the Planet Wrox site that I had downloaded. I was hoping that code would not have errors (since I didn't write it). However, I am still getting the error, CS0246 The type or namespace name 'BasePage' could not be found.
Is there a system setting I need to change to make this work?
Any help would be greatly appreciated!

Imar October 30th, 2018 05:53 PM

Hi there,

Can you be more specific as to when you get this error?

BasePage is a class file you added yourself. Do you have it under App_Code/BasePage.vb/cs?

Also, how did you open the project's source that came with the book? If you open it as a Web site, it compiles fine for me and BasePage can be found.

If you provide more detail (detailed steps, VS version, how you're opening the site, when/where you get the error) I might be able to help you better.

Cheers,

Imar


All times are GMT -4. The time now is 01:03 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.