.NET 4.0

1 view
Skip to first unread message

cmma...@gmail.com

unread,
Oct 21, 2009, 10:33:36 AM10/21/09
to Elevate Project
With the recent release of Visual Studio 2010 Beta 2, .NET 4.0 is upon
us. For Elevate, I want to get people's opinions on the following:

1. New features. What types features would people like to see for 4.0?
There are plenty of new twists to the .NET world being introduced in
4.0, so I'm sure that there are a few new holes for Elevate to fill.

2. Project structure. My thought here is to have two .csproj files
that both contain mostly the same files. One would be for 3.0, and one
would be for 4.0. That way, patches and updates can be applied to both
versions without having to manually copy and merge changes. Does this
seem reasonable, or do separate folders and files seem to make more
sense?

-Chris

jrwren

unread,
Oct 21, 2009, 8:59:05 PM10/21/09
to Elevate Project
1. I am not sure.

2. Yes, multi csproj or even single csproj with a conditional,
although given VS's past poort support for such conditionals, multiple
csproj files is probably best.
--
Jay

On Oct 21, 10:33 am, "cmmari...@gmail.com" <cmmari...@gmail.com>
wrote:

Mike Woelmer

unread,
Oct 21, 2009, 10:15:04 PM10/21/09
to Elevate Project
1. Don't know yet. As we all start using 4.0 features it will become
clearer.

2. What about a source control branch? We can use separate csproj for
now, but at some point though we will want to use 4.0 features in the
implementation of Elevate, so we either maintain two version of files
or create a branch.

--Mike.

Nathan Lane

unread,
Oct 23, 2009, 11:57:44 AM10/23/09
to Elevate...@googlegroups.com
On 2 I agree, you should branch to support 3.0 and keep 4.0 in the trunk. You can then easily provide ports, and not have to worry about how they interact with each other. On 1, I looked at the Microsoft doc about what will be new, and nothing that you've already provided is really going in to the new release. The doc talked about four new technologies: Dynamic Lookup, Named and Optional Arguments, Features for COM interop, and Variance. Since reading about this project, I've come up with a bunch of my own extensions for my own use and created a ClassExtensions project. Most of my extensions are additions to the core or "native" types, like a regex-based Tokenize method that does more than splitting a string by a delimiter, string Capitalize method, string Append and Prepend builder methods, and I inlined several char methods like IsDigit, ToUpper, ToLower, and IsLetter, added object IsNull and three Lambda style functions to Int32 (could add them to Int16, Int64, etc) like LessThan, GreaterThan, and EqualTo. Of course I want to expand on these, but I've used them all, and I feel that they enhance the readability of my code. Maybe you could be more specific and explain what sorts of things you are looking for.

Thanks

Nathan
--
Nathan Lane
Blog, http://blog.nathandelane.com
Reply all
Reply to author
Forward
0 new messages