English 中文(简体)
Why MSBuild looks for pdb files when it is building an installshield project?
原标题:

I have added a basic MSI project to my vS2010 solution, it builds fine on my machine, but when I check in my code and request a build using TFS then it doesn t build and generates the following error:

C:Program FilesMSBuildInstallShield2011InstallShield.targets (68): OutputGroups item "e:BldTmp2MyProjectMy Project BuildSourcesMy projectlib.proj.Countdownsobjx86Releaselib.proj.Countdown.pdb" of "lib.proj.Countdown.debug symbols" does not appear to exist.

why MSBuild or SAB 2011 are looking for pdb file? I don t want to add pdb file to my installer. I have checked the path and I can see that the pdb file exist, but the build generates this error!!

问题回答

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.





相关问题
Why not use TFS as a build / CI solution?

Currently our build solution is set up using TFS + MS Build scripts. TFS is also being used as a CI server. I ve seen several posts on this site telling people about other CI solutions. Are there ...

Get files from TFS under Linux [closed]

is there a free (command line) tool for linux which with I can get all files from a TFS-Repository (no Check in / Check out required - only get actual version)?

upgrading tfs 2008 sp1 to use sql server 2008

I have an instance of tfs 2008 supported by sql server 2005. I want to change the sql server machine by doing a restore based move. I also want to change the version of sql server to 2008. I know ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

TFSReg in 2010 Beta 2?

does anybody know what is the equivalent of the TFSReg.exe command-line tool in 2010 Beta 2? I cannot find it anywhere, I searched the entire Program Files tree. Was it renamed? Moved? Replaced by ...

热门标签