title: Using a .NET 4.0 Class in as SQL Server 2005 CLR UDF
body: <p>For reasons I won't go into I have a .NET 4.0 class that I need to use in a SQL Server 2005 CLR UDF. I know SQL Server 2005 only supports .NET 2.0 CLR so is there ANYTHING I can do to make the 4.0 class work? Rewriting the class in 2.0 will be very time consuming. Can I register the 4.0 class for COM interop and then reference it from the 2.0 CLR or something? Any help would be appreciated. Thanks!</p>