Wix project error in TFS build

核能气质少年 提交于 2020-01-15 11:41:47

问题


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 : error LGHT0103: The system cannot find the file 'Path\assembly.dll' with type ''.

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?


回答1:


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.

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

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



来源:https://stackoverflow.com/questions/6457032/wix-project-error-in-tfs-build

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!