开发者

How do I include PDB files in my TFS 2010 Build?

I am using TFS 2010 and getting to grips with the automated build process. I would like to include pdb files in my builds as these are distributed along with the application (its an in-house app). 开发者_Python百科I know that the build is controlled through xaml files in the BuildProcessTemplate folder but I have no idea how to edit these to include the pdb files. How do I do this?


Are you trying to distribute a debug build via TFS? If so, perhaps setting Debug as the target configuration would solve your problem. TFS defaults to a release build IIRC.


You turn on pdb generation by going into the build tab of the project properties dialog, select the configuration you want to generate the symbols for and then in the lower right click 'Advanced...' and select full or pdb only in the drop down next to 'Debug Info'.

http://msdn.microsoft.com/en-us/library/8cw0bt21(v=vs.100).aspx


The default build process template simply overrides the output directory of your projects (typically bin\Debug) to a Binaries directory on the build server, where all the outputs from all projects are dumped. Then it copies the contents of that directory to the location specified as the Build Drop Directory in the Build Definition.

By default your projects should generate PDB's when you compile them (when you build in VS are you seeing PDB's?). And the build process should automatically copy these PDB's to the build drop directory by default.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜