This project has moved. For the latest updates, please go here.

Passing command line MsBuild properties to documentation source projects

Topics: User Forum
Dec 13, 2011 at 2:22 PM

The C# projects i'm documenting have a custom OutputPath based on an MsBuild property which is specified when building the projects or solution using the /p parameter. When compiling the documentation i need to pass this parameter so that the output dir for the assemblies are correctly expanded but it seems that shfb does not propagate msbuild parameter used on the .shfbproj to the projects when resolving the assembly name.

Is there a way to pass custom msbuild properties to the projects when resolving assembly names ? If no, can it be added ?


Dec 13, 2011 at 3:12 PM

OutputPath conflicts with the SHFB property of that name used to specify where the help file ends up.  You should be able to specify OutDir and set it to the path you need.  It's used by Team Build and SHFB will override the project paths with that value if specified to locate the assembly and XML comments files.