Thanks Shawn. It's a shame those files aren't in the Solution Explorer; it's useful to be able to edit the auto-generated "Protected Withevents" declarations for the form controls.
Also, I did a quick google and found this: http://www.aspnetresources.com/articles/debug_code_in_production.aspx Interesting reading. Cheers, Ben > -----Original Message----- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of Scott Allen > Sent: 20 April 2006 13:53 > To: [email protected] > Subject: Re: [ADVANCED-DOTNET] VS ASP.NET 2005 > > If you are using the default project model, the partial class > with the generated fields appear in a subfolder of the > Temporary ASP.NET Files folder. You can find them if you have > <compilation debug="true" /> in web.config. > > The .designer. files are specific to the Web Application > Projects model. > You'll see them in solution explorer only when using a WAP. > > --s > > > > -----Original Message----- > > From: Discussion of advanced .NET topics. [mailto:ADVANCED- > > [EMAIL PROTECTED] On Behalf Of JOYCE Ben > > Sent: Thursday, April 20, 2006 5:13 AM > > To: [email protected] > > Subject: Re: [ADVANCED-DOTNET] VS ASP.NET 2005 > > > > Thanks for the quick replies chaps, but I'm not having much > luck here. > > Is this specific to C#? > > > > I'm in a VB project. I can see the .aspx and nested aspx.vb files, > > but the .vb file doesn't contain anything that I didn't > write myself - > > and I know for a fact I dragged & dropped controls onto the page. > > > > Where might the declarations for those controls be hiding? > > > > Curious! > > > > Ben > > > > > -----Original Message----- > > > From: Discussion of advanced .NET topics. > > > [mailto:[EMAIL PROTECTED] On Behalf Of Shawn > > > Wildermuth > > > Sent: 20 April 2006 09:58 > > > To: [email protected] > > > Subject: Re: [ADVANCED-DOTNET] VS ASP.NET 2005 > > > > > > You may need to click (Show all Files) button in the top of the > > > Solution Explorer to see that file. > > > > > > > > > > > > Thanks, > > > > > > Shawn Wildermuth > > > http://adoguy.com > > > C# MVP, MCSD.NET, Author and Speaker > > > > > > > > > -----Original Message----- > > > From: Discussion of advanced .NET topics. > > > [mailto:[EMAIL PROTECTED] On Behalf Of Dean > > > Cleaver > > > Sent: Thursday, April 20, 2006 4:39 AM > > > To: [email protected] > > > Subject: Re: [ADVANCED-DOTNET] VS ASP.NET 2005 > > > > > > It's in the other partial class - <classname>.designer.cs > > > > > > Dino > > > > > > -----Original Message----- > > > From: Discussion of advanced .NET topics. > > > [mailto:[EMAIL PROTECTED] On Behalf Of > JOYCE Ben > > > Sent: Thursday, 20 April 2006 20:34 > > > To: [email protected] > > > Subject: Re: [ADVANCED-DOTNET] VS ASP.NET 2005 > > > > > > Just out of interest, where has all the designer code gone? > > > I thought it was a bit weird it had disappeared... I'm > asuming I can > > > still get to it somewhere and modify it? > > > > > > Cheers, > > > > > > Ben > > > > > > > -----Original Message----- > > > > From: Discussion of advanced .NET topics. > > > > [mailto:[EMAIL PROTECTED] On Behalf Of > > > Dean Cleaver > > > > Sent: 18 April 2006 09:11 > > > > To: [email protected] > > > > Subject: Re: [ADVANCED-DOTNET] VS ASP.NET 2005 > > > > > > > > Paul, > > > > > > > > The partial class thing is nothing to do with the new Web > > > projects - > > > > it's part of C# spec in general, and I think it's a > great idea - > > > > isolates the designer generated code from the user code > > > without having > > > > regions and warnings saying "don't touch!". > > > > > > > > I'm also sticking to the old model though - primarily > because of > > > > developed knowledge on how it works, and with a site > adding up to > > > > a large number of actual pages (about 300) which is capable of > > > > delivering about 8000 different looking pages via smoke and > > > mirrors, > > > > I'm not about to change it. > > > > > > > > Dino > > > > > > > > -----Original Message----- > > > > From: Discussion of advanced .NET topics. > > > > [mailto:[EMAIL PROTECTED] On Behalf Of Paul > > > > Cowan > > > > Sent: Tuesday, 18 April 2006 20:01 > > > > To: [email protected] > > > > Subject: [ADVANCED-DOTNET] VS ASP.NET 2005 > > > > > > > > Hi all,I was just wondering if anybody else has decided to shun > > > > the new ASP.NET project model advocated by VS 2005. > > > > > > > > I am sticking with the VS 2003 model. It is almost > like they are > > > > trying to cater for ASP developers (of which I used to be one). > > > > > > > > The fact that the Global.asax file in the new web > project template > > > > contains inline script was enough to make my skin crawl. > > > The appCode > > > > facility is unecessary. > > > > > > > > Partial classes are I suppose ok for compartmentalising > code but > > > > really a smell that your class is too big. > > > > Anybody who wants to stick to the superior VS 2003 model > > > should look > > > > no further than the following: > > > > http://webproject.scottgu.com/Default.aspx > > > > > > > > I can't be the only one thinking this new model is just not the > > > > ticket? > > > > Paul > > > > > > > > > > > > =================================== > > > > This list is hosted by DevelopMentor(r) http://www.develop.com > > > > > > > > View archives and manage your subscription(s) at > > > > http://discuss.develop.com > > > > > > > > =================================== > > > > This list is hosted by DevelopMentor(r) http://www.develop.com > > > > > > > > View archives and manage your subscription(s) at > > > > http://discuss.develop.com > > > > > > > > > > =================================== > > > This list is hosted by DevelopMentor(r) http://www.develop.com > > > > > > View archives and manage your subscription(s) at > > > http://discuss.develop.com > > > > > > =================================== > > > This list is hosted by DevelopMentor. http://www.develop.com > > > > > > View archives and manage your subscription(s) at > > > http://discuss.develop.com > > > > > > =================================== > > > This list is hosted by DevelopMentor(r) http://www.develop.com > > > > > > View archives and manage your subscription(s) at > > > http://discuss.develop.com > > > > > > > =================================== > > This list is hosted by DevelopMentorR http://www.develop.com > > > > View archives and manage your subscription(s) at > > http://discuss.develop.com > > =================================== > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
