Why MSBuild looks for pdb files when it is building an installshield project?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • leila hashemi
    New Member
    • Jul 2011
    • 2

    Why MSBuild looks for pdb files when it is building an installshield project?

    I have added a basic MSI project to my VS2010 solution. The VS solution contains several projects. When I include the primary output of some of the projects to my MSI project, the solution 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 Files\MSBuild\I nstallShield\20 11\InstallShiel d.targets (68): OutputGroups item "e:\BldTmp\2\My Project\My Project Build\Sources\M y project\lib.pro j.Countdowns\ob j\x86\Release\l ib.proj.Countdo wn.pdb" of "lib.proj.Count down.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 on the build machine, but the build generates this error!!
    How can I add a primary output of a project to an MSI project without having this error?
Working...