I\'ve already dived into SQL clr programming. Unfortunately my first attempt is troubled. My C# assembly code is just so:
enter code here
public partial clas
Short answer : set Sql Server version and .Net Framework version on project property.
First of all you have to check set your project property. in project property set the version of sql server that you want to create CLR for it. then choose .Net Framework version . for example if you want to create CLR for SQL Server 2008 you have to set .Net Framework to 3.5 and for 2005 choose .Net 2.0. i hope this solution help you.