TFS 构建中的 Wix 项目错误 [英] Wix project error in TFS build

查看:31
本文介绍了TFS 构建中的 Wix 项目错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个解决方案,其中包含 Team Foundation Server (TFS 2010) 上的 Wix v3.6 项目.该解决方案还包含一些其他类库项目.TFS 构建失败,出现以下错误:

I am building a solution that contains a Wix v3.6 project on Team Foundation Server (TFS 2010). The solution also contains some other class library projects. The TFS build is unsuccessful with the following error:

light.exe : 错误 LGHT0103: 系统找不到类型为 '' 的文件 'Path\assembly.dll'.

light.exe : error LGHT0103: The system cannot find the file 'Path\assembly.dll' with type ''.

我已经检查过有问题的文件 (assembly.dll) 并且它确实存在于给定的路径中.有问题的文件实际上是解决方案中另一个项目的输出.除此文件外,wix 项目在同一路径位置还成功找到了其他文件.

I have checked that the file (assembly.dll) in question and it does exists at the given path. The file in question is actually the output of another project in the solution. Apart from this file there are other files that are successfully found by wix project in the same path location.

谁能告诉我为什么会这样?

Can somebody tell me why is this happening?

推荐答案

可能的原因是文件路径 'Path\assembly.dll' 的字符会更大,因为 light.exe 最多支持 255 个字符(或 155 个字符不支持)当然)仅限字符.

The possible reason could be due to file path 'Path\assembly.dll' will be larger in characters as light.exe support max 255 (or 155 char not sure) characters only.

您可以将compressed 更改为no ascompressed=no in .这将在输出路径中创建一些包含依赖文件和安装程序的文件夹.

You can change compressed to no as compressed=no in . This will create some folders with dependent file along with installer in output path.

如果可能,请尝试为您在构建服务器上使用的 buildoutput 和 dropfolders 提供更短的名称,使用compressed="yes"

If possible try to give shorter name to buildoutput and dropfolders that you are using at build server with compressed="yes"

这篇关于TFS 构建中的 Wix 项目错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆