Re: Automatic Properties on 2.0
Shawn Wildermuth <[email protected]> Fri, 28 Mar 2008 11:04:41 -0400
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <[email protected]> |
Because its asp.net it isn't using the C# 3.0 compiler on the server but pre-compiling the site might fix it. Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com http://geekdinners.com Microsoft MVP (C#), MCSD.NET, Author and Speaker The Silverlight Tour is coming to a city near you! -----Original Message----- From: Discussion of development on the .NET platform using any managed language [mailto:[email protected]] On Behalf Of Brady Kelly Sent: Friday, March 28, 2008 9:48 AM To: [email protected] Subject: Re: [DOTNET-CLR] Automatic Properties on 2.0 > Brad; It is pretty obvious that the code for the 3.5 compiler won't > compile in a 2.0 project! > (even if they used the same compiler in different modes) MS did slipp- > up when they decided > on their current versioning scheme but I seems that you did a rather > nasty slip yourself =) > --Daniel Not so nasty, the project is an ASP.NET prototype, and I got four data capture pages, and two list/ grid pages for captured data, all working with about five or six lines of code altogether. My client just didn't have 3.5 installed yet, so I quickly wanted to send him a 2.0 version. I made three automatic properties public fields and, as they say, Voila! =================================== 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Ā® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com