I did substantial work developing CLR routines to implement DAL functionality using VS2010 intending to port them to SQL2008R2 clr assemblies;
Did the unit testing, everything seemed fine..
Then the day came to put them in to SQL CLR assemblies..
Alas!, SQL2008 only support assemblies that are below framework 3.5 !
Days spent adopting c# 4.0 functionality, now have to be thrown away and slide back to c#2.0. spending yet few more days.
Can I use Framework 4 CLR assemblies with SQL2010 ?
Will there be support for framework 4.0 support in SQL2008R2 ? if so when ?
http://software.intel.com/en-us/blogs/2009/10/16/sql-server-2008-sqlclr-net-framework-version/
Also, a little bit more here.