2012-03-20 13 views
2

Visual Studio 2010のビルド定義を編集しようとするたびにこのエラーが表示されます。「失敗しました.6個のエラーと0個の警告があり、カスタムアクティビティとサービスがロードされています。情報ダイアログボックスで、とのための出力ウィンドウに、次の「ビルド - Team Foundationの」ビルド定義のエラーメッセージ

Summary: There were 0 failures, 6 errors and 0 warnings loading custom activities and services. 

Error: Could not load file or assembly 'Microsoft.Scripting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 

Error: Could not load file or assembly 'file:///C:\Users\myUsername\AppData\Local\Temp\VSTFSBuild\26d7c1b8-85e5-45bf-ab92-1dbeaed4388a\Microsoft.Scripting.dll' or one of its dependencies. The system cannot find the file specified. 

Error: Could not load file or assembly 'file:///C:\Users\myUsername\AppData\Local\Temp\VSTFSBuild\26d7c1b8-85e5-45bf-ab92-1dbeaed4388a\Microsoft.Scripting.dll' or one of its dependencies. The system cannot find the file specified. 

Error: Could not load file or assembly 'Microsoft.Web.Administration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 

Error: Could not load file or assembly 'Microsoft.SqlServer.Smo, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. 

Error: Could not load file or assembly 'file:///C:\Users\myUsername\AppData\Local\Temp\VSTFSBuild\26d7c1b8-85e5-45bf-ab92-1dbeaed4388a\Microsoft.Web.Administration.dll' or one of its dependencies. The system cannot find the file specified. 

私は、ビルド定義を編集するたびを示すから、これらのエラーメッセージを防ぐにはどうすればよいですか?

+0

ようこそStackOverflow。あなたの質問は何ですか? (1つの資格を持つ単一のフレーズは表示されず、どこでも疑問符は表示されません)何か質問していますか?あなたの質問を実際に何かを尋ねる(そして何らかの文脈を提供する)ように編集してください。そうしないと、おそらくかなり早く閉じられるでしょう。 [FAQ](http://stackoverflow.com/faq)、特に質問する方法のセクションを読むには、数分を要するかもしれません。ありがとう。 :) –

+0

ビルドプロセステンプレートはカスタムアクティビティを使用していますか?これらの活動はこれらのアセンブリを使用していますか?次に、ビルドサーバーがこれらのアセンブリの配置場所を確認する必要があります。 –

+0

私はDefaultTemplate.xmlを使用していますが、私はカスタムアクティビティを使用していません。 –

答えて

1

位置付けられたビルドエージェントは別の物理マシンにありますか?はい(そうだと思います):ビルドサーバーでインストールまたは到達できない可能性のあるすべての依存関係を含む中央チームプロジェクトを作成するのは一般的です。次に、TFS管理者のビルドコントローラ定義のオプション「カスタムアセンブリへのバージョン管理パス」を使用して、それらの要素を含むTFSフォルダにアクセスできます。

関連する問題