每次我尝试在 Visual Studio 2010 下编辑构建定义时都会收到此错误。我会收到以下消息“加载自定义活动和服务时出现 0 个失败、6 个错误和 0 个警告”。在信息对话框中,在“Build - 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.
如何防止每次编辑构建定义时显示这些错误消息?