0

我在我的 vS2010 解决方案中添加了一个基本的 MSI 项目,它在我的机器上构建良好,但是当我签入我的代码并使用 TFS 请求构建时,它不会构建并生成以下错误:

C:\Program Files\MSBuild\InstallShield\2011\InstallShield.targets (68):OutputGroups 项目“e:\BldTmp\2\MyProject\My Project Build\Sources\My project\lib.proj.Countdowns\obj\x86\ “lib.proj.Countdown.debug 符号”的 Release\lib.proj.Countdown.pdb” 似乎不存在。

为什么 MSBuild 或 SAB 2011 正在寻找 pdb 文件?我不想将 pdb 文件添加到我的安装程序中。我检查了路径,我可以看到 pdb 文件存在,但是构建会产生这个错误!!

4

1 回答 1

1

It will not be MSBuild generating this error, it will be InstallShield's Stand Alone Builder.

What you have most likely done is when adding the files for the MSI, you selected a folder and created a dynamic file link which includes all files, or more specifically doesn't exclude any files. To fix this you should leave it as is, but adjust the link settings to exclude *.pdb files. Or you could delete the link and recreate the component manually, and manually add whichever files you want.

于 2011-07-17T13:05:42.813 回答