Quote:
Originally Posted by kuznickic
Hi all,
I am having a problem with Chapter 4. I typed in the code exactly as the book says but in my BasePage class I get an error that StringHelpers does not exist in the current context. I added the StringHelpers class and saved but still no joy. Am I missing a reference and if so how do I reference that class properly? I get a feeling that is the problem but I don't know how to fix it.
Thanks
Chris
|
I think it has something to do with the way the Web Application project type handles the App_Code folder.
1. Create a folder to store your code in the web project (I just called mine "code") and move the stuff from your app_code folder into this new folder.
2. Right click the classes, select Properties, and change the Build Action to "Compile".