sql server - visual studio 2012 SQL CLR -


i trying create, test , deploy sql clr (database project) using visual studio 2012 (update 2) , getting frustrating.

the coding trivial cannot deploy or execute unit tests on project. have developed sql clr in vs 2010 , simpler (test.sql).

so here questions:

  1. how 1 set local sql script test newly minted functions/sprocs? [i have tried adding .sql file , marking run on debug error sql71006.]
  2. how 1 deploy project? deploying sql 2008 r2 , know need use .net 2.0 still have not been able deploy anything. when execute generated .sql on target sql server instance, nothing happens (no errors, nothing).

this has worked previous versions of visual studio 1 wonders if msft perhaps trying discourage generation of sql clr modules?

for first point, ensure .sql file in properties has build in field action

for second point, try use publish option, dialog box set database connection , other config option.

deploy option nothing when work database projects.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -