I have an MSBuild object that creates my documentation in my build script.
This target uses the Sandcastle file builder.
This is done as follows:
<Target name="builddoc" DependsOnTargets="buildall">
<ItemGroup>
<Assemblies Include="-assembly=$(outputdir)\myassembly.dll" />
<Assemblies Include="-assembly=$(outputdir)\anotherassembly.dll" />
</ItemGroup>
<Exec Command="$(double_quote)$(SandcastleHFBCmd)$(double_quote) sandcastleproj.shfb$(double_quote) @(assemblies, ' ') outputpath=$(outdir)
</Target>
source
share