Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Computed columns in SQLCLR project in Visual Studio 2010

It appears that MS has a bug when dealing with VS 2010 SQL CLR project and computed columns. I am using Pre/PostDeployScript.sql to drop/add the computed column. However, if I try to deploy from VS2010 it, I get dependency errors. The same project works 100% in Vs2008. I am wondering what my options are in terms of deploying to work around the problem? I am also in contact with MS, but they haven't found a workaround/solution as of yet.

like image 815
laconicdev Avatar asked Oct 13 '10 16:10

laconicdev


1 Answers

You need to install .Net 3.5 and select it inside the project. It will work.

like image 160
om471987 Avatar answered Oct 19 '22 23:10

om471987