ワークステーションのc:\ programファイルにあるがビルドサーバーのc:\ programファイル(x86)にあるアセンブリを参照するWebアプリケーションのビルド(*)/テストに問題があります。このアセンブリは「Microsoft.VisualStudio.Enterprise.ASPNetHelper」(コードカバレッジにaoを使用)です。
ローカルでは、パスは「C:/ Program Files / Microsoft Visual Studio 10.0 / Common7 / IDE / PrivateAssemblies/Microsoft.VisualStudio.Enterprise.ASPNetHelper.dll」です。
ビルドサーバーでは、パスは「C:/ Program Files(x86)/ Microsoft Visual Studio 10.0 / Common7 / IDE / PrivateAssemblies/Microsoft.VisualStudio.Enterprise.ASPNetHelper.dll」です。
このアセンブリはGACにないため、VisualStudioはweb.configのcodeBase要素を使用してバインディングを定義します
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.VisualStudio.Enterprise.ASPNetHelper" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<codeBase version="10.0.0.0" href="file:///C:/Program%20Files/Microsoft%20Visual%20Studio%2010.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.Enterprise.ASPNetHelper.DLL"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
これを管理して、ローカルとビルドマシンの両方で機能させるにはどうすればよいですか?私の知る限り、構成ファイルで変数を定義したり、環境変数を使用したりする方法はありません...
V。