Skip to content
This repository was archived by the owner on Jan 8, 2019. It is now read-only.

Commit be66f60

Browse files
neoeinsteinenricosada
authored andcommitted
Add XML doc generation (#71)
Adds a line to the `fsc` response file that will trigger the compiler to generate XML documentation when `GenerateDocumentationFile` is set to true.
1 parent 3d096f6 commit be66f60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/FSharp.NET.Sdk/build/FSharp.NET.Core.Sdk.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ this file.
9999
<DotnetCompileFscResponseLines Include="--out:$(_IntermediateOutputPathFull)$(TargetName)$(TargetExt)" />
100100

101101
<DotnetCompileFscResponseLines Condition="'$(OutputType)' == 'Exe'" Include="--emit-entry-point:True" />
102+
<DotnetCompileFscResponseLines Condition="'$(GenerateDocumentationFile)' == 'true'" Include="--generate-xml-documentation:True" />
102103

103104
<!--DOC: $(DefineConstants) is a string separated by ';' so let's convert to array-->
104105
<DefineConstantsArray Include="$(DefineConstants.Split(';'))" />

0 commit comments

Comments
 (0)