Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 21st, 2010, 04:14 PM
Registered User
 
Join Date: Jan 2010
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default Calculator.cs not recognized in App_Code

I'm trying to complete the doing "Optimizing the Calculator" (in Chapter 5: Programming your ASP.Net Web Pages) try it out exercise.

When Calculator.cs is saved to the root of the Solution, it works fine. However, when it is placed in the App_Code folder, it is not recoginized.

Ideas?

Note: I am doing this in an existing Solution that I use for testing. I do not have a demo folder as is referenced by the book's examples.
 
Old January 21st, 2010, 06:41 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Sounds like you're using a web application (File | New Project) rather than a Web Site Project (File | New Web Site). App_Code is not supported in a web application. In a WAP you can place code files anywhere except in App_Code.

Hope this helps...

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
netwebb (January 21st, 2010)





Similar Threads
Thread Thread Starter Forum Replies Last Post
access module's are not recognized behraster Access VBA 1 January 22nd, 2010 09:13 AM
question about App_Code/ConfigSection.cs Jyothi_23 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 March 27th, 2009 11:08 AM
ruby is not recognized.... Crippy RoR Ruby on Rails 1 July 16th, 2008 08:37 AM
Database changes not recognized until restart semilemon C# 5 April 26th, 2006 06:19 PM
not recognized nachtegaal9999 ASP.NET 1.0 and 1.1 Basics 0 April 25th, 2006 02:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.