VS 2010/SQL Server 2005 で SQL CLR プロジェクトの msbuild (継続的インテグレーション) を実行しようとしています。プロジェクトは VS で正しくビルドされますが、サード パーティの外部参照が必要なため、msbuild でビルドできません。
これを回避する一般的な方法は、ライブラリ フォルダーを追加し、そのライブラリ フォルダーへの参照をポイントすることです。SQL CLR プロジェクトでこれを行うにはどうすればよいですか?
私が得るビルドエラーは次のとおりです。
[19:38:42]CorrSqlServerCompo\PowerStatRegression.csproj.teamcity: Build target: Build
[19:38:42][CorrSqlServerCompo\PowerStatRegression.csproj.teamcity] CoreCompile
[19:38:42][CoreCompile] Csc
[19:38:42][Csc] matrix\MatrixHandler.cs(5, 7): error CS0246: The type or namespace name 'Extreme' could not be found (are you missing a using directive or an assembly reference?)
[19:38:42][Csc] matrix\MatrixHandler.cs(6, 7): error CS0246: The type or namespace name 'Extreme' could not be found (are you missing a using directive or an assembly reference?)
[19:38:42][Csc] matrix\MatrixHandler.cs(216, 51): error CS0246: The type or namespace name 'GeneralMatrix' could not be found (are you missing a using directive or an assembly reference?)
[19:38:42][CorrSqlServerCompo\PowerStatRegression.csproj.teamcity] Project CorrSqlServerCompo\PowerStatRegression.csproj.teamcity failed.
ビルド プロジェクト ファイルの項目グループは次のとおりです。
<ItemGroup>
<Reference Include="Extreme.Numerics.Net20, Version=3.6.10055.0, Culture=neutral, PublicKeyToken=9e513770f58567b2, processorArchitecture=MSIL">
<SubType>SQLCLR</SubType>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.XML" />