2009-10-13 4 views
1

TFS 빌드 솔루션에 여러 Office AddIn 프로젝트를 추가했으며 이제는 문제가 발생했습니다. 우리는 Visual Studio 및 TFS 2008 (SP1)을 사용하고 있습니다. 4 개 프로젝트가 ... 다음 대상 각각에 대해 하나오류 MSB4062 : "GenerateAndPersistAppInfoTask"작업을로드 할 수 없습니다.

  • Word 2003에서
  • Word 2007을
  • 엑셀 2003을 추가 한
  • Excel 2007의

는 빌드 로그는보고 다음 ...

C:\Program Files\MSBuild\Microsoft.VisualStudio.OfficeTools2.targets(116,9): error MSB4062: The "GenerateAndPersistAppInfoTask" task could not be loaded from the assembly Microsoft.VisualStudio.Tools.Applications.Hosting, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Could not load file or assembly 'Microsoft.VisualStudio.Tools.Applications.Hosting, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available. 

Microsoft.VisualStudio .Tools.Applications.Runtime.v9.0.dll은 서버에 존재하며 GAC에 올바르게 설치됩니다. Visual Studio Tools for Office (2005 & 3.0)도 모두 설치됩니다. 서버에 원격으로 설치하고 Visual Studio를 실행하면 이러한 추가 기능 중 하나를 다시 만들고 성공적으로 컴파일 할 수 있습니다.

도움말, 붙이기!

답변

0

나는 GAC에 설치된 Microsoft.VisualStudio.Tools.Applications.Hosting.dll이 필요합니다. 이미 Microsoft.VisualStudio.Tools.Applications.Hosting.v9.0.dll이 설치되었지만 호환 버전이 아닙니다.

관련 문제