Generating documentation to the drop folder location in TFS 2010

Topics: Developer Forum, User Forum
Mar 6, 2014 at 7:27 PM
What is the best way to generate documentation to the drop folder location in TFS 2010? I’ve added a Sandcastle Help File Builder project to my solution and added the Documentation Sources and References. However, I’ve run into a couple issues:

On the TFS build server, the dlls go to the obj\Release folder (not the bin\Release) folder, so are not found by SHFB. I’ve worked around this issue with a post-build script that copies the documentation XML file to the obj\Release folder, and by adding the Document Sources from the obj\Release folder.

However, I can find no way to direct the output from SHFB to the current build location so that can be included in the copy to the drop folder location. Since there is no post-build event, I cannot copy it manually. I've also tried using the Output Deployment plug-in, but it seems to have use in this situation.

Is there a good/recommended way to generate documentation to the drop folder location?

Thanks.
Mar 7, 2014 at 9:40 AM
Edited Mar 7, 2014 at 9:40 AM
Edit your shfbproj File:
<OutDir Condition=" '$(OutDir)' == ''">.</OutDir>
<OutputPath>$(OutDir)\Help</OutputPath>
This works for me locally and in TFS Build.
Mar 7, 2014 at 6:32 PM
Edited Mar 7, 2014 at 6:32 PM
reitzmichnicht wrote:
Edit your shfbproj File:
<OutDir Condition=" '$(OutDir)' == ''">.</OutDir>
<OutputPath>$(OutDir)\Help</OutputPath>
This works for me locally and in TFS Build.
Thanks. This seems to have worked.