Wrox Programmer Forums
|
BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio
This is the forum to discuss the Wrox book ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution by Vincent Varallo; ISBN: 9780470396865
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 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 October 14th, 2010, 03:12 PM
Registered User
 
Join Date: Sep 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Environment Different

Every once in awhile I notice my environment is different from that stated in the book.

Case 1: Page 75 - You state to create BasePage.cs and Visual Studio will ask to create a folder called App_Code and select Yes. My environment never did. I had to create the folder first, then create the page, then copy and paste the basePade file from the PaidTimeOff folder to the app_code folder, delete the file from the paidtimeOff folder. I also had to rebuild and recompile to get Visual Studio to realize all of the changes I had made and to somehow resolve where the missing references are. Why does my version of Visual Studio act differently?

I still am having problems with the BasePage reference. Although the Administration Page has picked up the Master Page information and appears to work. It complains about a missing BasePage reference. It seems to not know that the BasePage is located in the App_Code folder directory.
How do I make Visual Studio correct the reference.

Also, I noticed that some folders appears as folders using normal folder icons while App_Data and App_Code folders have special Icons images associated with them. How does Visual Studio know the difference?

I also noticed that you can add an existing folder to the visulal studio you have to create it first in the Visual Studio application then move go outide of Visual Studio and move files to the folder then come back to Visual Studio and right click on the folder and say add exisiting items in order to get them to appear within the project. Quite a lot of work.... Is there a shortcut?


Case 2: Creating a Master Page. Page 93
It says to select the MasterPage Template which I interpret to mean the "Master.cs". Then is says to select C# checkbox and the check box to place code in separate file. My environment does not have either check box.
Does anyone know why my environment doesn't show the check boxes? Do I need to change some environment configuration or do I have a different version of Visual Studio?





Similar Threads
Thread Thread Starter Forum Replies Last Post
C# environment dhood C# 2 March 7th, 2007 07:57 PM
Microsoft development Environment NeedASP VS.NET 2002/2003 0 July 31st, 2006 09:24 AM
Environment variables dotnetprogrammer VS.NET 2002/2003 3 November 30th, 2004 10:10 AM
PDF vs Environment.NewLine MER78 BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 November 17th, 2004 12:10 PM
Environment Variables cmiller PHP How-To 1 October 29th, 2003 06:53 PM





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