Linq を使用する VS 2008 で作成されたアセンブリを参照する CLR ストアド プロシージャがあります。このアセンブリを「MyLib」と呼びましょう。
「MyLib」を SQL 2005 データベースに取得できないようです。私は次のことを行います:
CREATE ASSEMBLY [MyLib]
FROM 'C:\MyLib\bin\Release\MyLib.dll'
WITH PERMISSION_SET = UNSAFE
GO
しかし、私はエラーが発生します:
Assembly 'MyLib' references assembly 'system.core, version=3.5.0.0,
culture=neutral, publickeytoken=b77a5c561934e089.', which is not present
in the current database. SQL Server attempted to locate and automatically
load the referenced assembly from the same location where referring assembly
came from, but that operation has failed (reason: 2(error not found)). Please
load the referenced assembly into the current database and retry your request.
すべての .Net 3.5 アセンブリを SQL 2005 CLR に入れる簡単な方法はありますか? これを行うための「ベストプラクティス」の方法はありますか?