Skip to content

Commit 3ef5e56

Browse files
Ensure sql-api-docs are generated (#4049)
1 parent 29d1783 commit 3ef5e56

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

src/Microsoft.Data.SqlClient.Extensions/Abstractions/src/Abstractions.csproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,12 @@
6565
<!-- The bin/ folder for each target framework. This contains the final build artifacts. -->
6666
<OutputPath>$(Artifacts)/bin/$(Configuration)/$(AssemblyName)</OutputPath>
6767

68-
<!-- We put our docs in the bin/ directory as well. -->
69-
<DocumentationFile>$(Artifacts)/doc/$(TargetFramework)/$(AssemblyName).xml</DocumentationFile>
68+
<!--
69+
Generate XML documentation from /// comments. The compiler places the
70+
XML file alongside the assembly in $(OutputPath). SDK Pack then includes
71+
this file automatically in the NuGet package under lib/<tfm>/.
72+
-->
73+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
7074

7175
</PropertyGroup>
7276

src/Microsoft.Data.SqlClient.Extensions/Azure/src/Azure.csproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,12 @@
6565
<!-- The bin/ folder for each target framework. This contains the final build artifacts. -->
6666
<OutputPath>$(Artifacts)/bin/$(Configuration)/$(AssemblyName)</OutputPath>
6767

68-
<!-- We put our docs in the bin/ directory as well. -->
69-
<DocumentationFile>$(Artifacts)/doc/$(TargetFramework)/$(AssemblyName).xml</DocumentationFile>
68+
<!--
69+
Generate XML documentation from /// comments. The compiler places the
70+
XML file alongside the assembly in $(OutputPath). SDK Pack then includes
71+
this file automatically in the NuGet package under lib/<tfm>/.
72+
-->
73+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
7074

7175
</PropertyGroup>
7276

0 commit comments

Comments
 (0)