【发布时间】:2009-05-28 21:44:15
【问题描述】:
我在尝试在 Visual Studio 2008 上的 TeamExplorer 中通过 TeamBuild 运行构建时遇到此错误。
在构建机器上,我安装了 VS SP1、Team Explorer、Silverlight 3 工具和 RIA 服务。
我可以在我的机器上直接在 Build Machine 上使用 Visual Studio 进行编译。但我仍然无法通过 TeamBuild 编译,因为它“说”我缺少 GetXapOutputFile 目标。
我检查了 C:\Program Files\MSBuild\Microsoft\Silverlight\v3.0\Microsoft.Silverlight.Common.targets 文件,它确实有 GetXapOutputFile 目标:
<!--
============================================================
GetXapOutputFile
This stand-alone target returns the name of the built xap file.It
only makes sense to call this after a build
============================================================
-->
<Target
Name="GetXapOutputFile"
DependsOnTargets="_CreateSLProperties"
Outputs="$(XapOutputFile)"
/>
知道我可能缺少什么吗?
【问题讨论】:
-
我遇到了同样的问题,我找到了原因:我丢失了
标签: msbuild silverlight-3.0 wcf-ria-services tfsbuild