rwv37;15713 wrote:
(2) However, if I put it back in and explicitly set it to false, it does not happen.
Nice work :)
In this case, we can try the following:
<PropertyGroup Condition="'$(NCrunch)' != '1'">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(NCrunch)' == '1'">
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>
Another thing to try is to avoid using the project name in the documentation path, and to use the assembly name instead. For example:
<Rwv37ProjectDocsDirectory>$(Rwv37SolutionDocsDirectory)\$(AssemblyName)</Rwv37ProjectDocsDirectory>