Skip to content

Commit e254726

Browse files
blehnenclaude
andcommitted
build(csproj): normalize XML doc generation across packable projects
Replaces relative-path <DocumentationFile>$AssemblyName.xml</DocumentationFile> across 11 packable csprojs with <GenerateDocumentationFile>true</GenerateDocumentationFile>. The .NET SDK now auto-emits XML docs to bin/$Config/$TargetFramework/$AssemblyName.xml instead of dropping them next to the .csproj. Matches the modern SDK convention; net effect on packaged NuGets is unchanged. Also untracks the stale Source/DotNetWorkQueue.Transport.LiteDB/DotNetWorkQueue.Transport.LiteDB.xml that had been getting committed because LiteDb.csproj wrote docs to its own folder, and adds .gitignore patterns to prevent regression (plus a couple of local-tool ignores for .playwright-mcp/ and skills-lock.json). Touched: DotNetWorkQueue, Dashboard.Api, Dashboard.Client, Transport.LiteDb, Transport.Memory, Transport.PostgreSQL, Transport.Redis, Transport.RelationalDatabase, Transport.SQLite, Transport.Shared, Transport.SqlServer. Verified via full-solution Release build (-c Release -p:CI=true): 0 errors, XML docs land in bin/Release/net{10.0,8.0}/ as expected. The 53 NU1902 warnings are the pre-existing OpenTelemetry advisory, unchanged by this work. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e177b60 commit e254726

13 files changed

Lines changed: 28 additions & 2240 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,3 +459,8 @@ Deploy.bat
459459
# Note: *.nupkg and *.snupkg above already cover these globally; this
460460
# entry asserts directory-level intent for the deploy/ output folder.
461461
deploy/
462+
463+
#ignore doc files
464+
Source/DotNetWorkQueue.Transport.*/DotNetWorkQueue.Transport.*.xml
465+
.playwright-mcp/
466+
skills-lock.json

Source/DotNetWorkQueue.Dashboard.Api/DotNetWorkQueue.Dashboard.Api.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ https://github.com/blehnen/DotNetWorkQueue/blob/master/CHANGELOG.md</PackageRele
2626
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
2727
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2828
<WarningsAsErrors />
29-
<DocumentationFile>DotNetWorkQueue.Dashboard.Api.xml</DocumentationFile>
29+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3030
</PropertyGroup>
3131

3232
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net10.0|AnyCPU'">
3333
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3434
<WarningsAsErrors />
35-
<DocumentationFile>DotNetWorkQueue.Dashboard.Api.xml</DocumentationFile>
35+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3636
</PropertyGroup>
3737

3838
<ItemGroup>

Source/DotNetWorkQueue.Dashboard.Client/DotNetWorkQueue.Dashboard.Client.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ https://github.com/blehnen/DotNetWorkQueue/blob/master/CHANGELOG.md</PackageRele
2727
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
2828
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2929
<WarningsAsErrors />
30-
<DocumentationFile>DotNetWorkQueue.Dashboard.Client.xml</DocumentationFile>
30+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3131
</PropertyGroup>
3232

3333
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net10.0|AnyCPU'">
3434
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3535
<WarningsAsErrors />
36-
<DocumentationFile>DotNetWorkQueue.Dashboard.Client.xml</DocumentationFile>
36+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3737
</PropertyGroup>
3838

3939
<ItemGroup>

Source/DotNetWorkQueue.Transport.LiteDB/DotNetWorkQueue.Transport.LiteDB.xml

Lines changed: 0 additions & 2217 deletions
This file was deleted.

Source/DotNetWorkQueue.Transport.LiteDB/DotNetWorkQueue.Transport.LiteDb.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030

3131
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net10.0|AnyCPU'">
3232
<DefineConstants></DefineConstants>
33-
<DocumentationFile>DotNetWorkQueue.Transport.LiteDB.xml</DocumentationFile>
33+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3434
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3535
<WarningsAsErrors />
3636
</PropertyGroup>
3737

3838
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
3939
<DefineConstants></DefineConstants>
40-
<DocumentationFile>DotNetWorkQueue.Transport.LiteDB.xml</DocumentationFile>
40+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
4141
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
4242
<WarningsAsErrors />
4343
</PropertyGroup>

Source/DotNetWorkQueue.Transport.Memory/DotNetWorkQueue.Transport.Memory.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929

3030
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net10.0|AnyCPU'">
3131
<DefineConstants></DefineConstants>
32-
<DocumentationFile>DotNetWorkQueue.Transport.Memory.xml</DocumentationFile>
32+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3333
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3434
<WarningsAsErrors />
3535
</PropertyGroup>
3636

3737
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
3838
<DefineConstants></DefineConstants>
39-
<DocumentationFile>DotNetWorkQueue.Transport.Memory.xml</DocumentationFile>
39+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
4040
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
4141
<WarningsAsErrors />
4242
</PropertyGroup>

Source/DotNetWorkQueue.Transport.PostgreSQL/DotNetWorkQueue.Transport.PostgreSQL.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929

3030
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net10.0|AnyCPU'">
3131
<DefineConstants></DefineConstants>
32-
<DocumentationFile>DotNetWorkQueue.Transport.PostgreSQL.xml</DocumentationFile>
32+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3333
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3434
<WarningsAsErrors />
3535
</PropertyGroup>
3636

3737
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
3838
<DefineConstants></DefineConstants>
39-
<DocumentationFile>DotNetWorkQueue.Transport.PostgreSQL.xml</DocumentationFile>
39+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
4040
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
4141
<WarningsAsErrors />
4242
</PropertyGroup>

Source/DotNetWorkQueue.Transport.Redis/DotNetWorkQueue.Transport.Redis.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ https://github.com/blehnen/DotNetWorkQueue/blob/master/CHANGELOG.md </PackageRel
2727

2828
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
2929
<DefineConstants></DefineConstants>
30-
<DocumentationFile>DotNetWorkQueue.Transport.Redis.xml</DocumentationFile>
30+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3131
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3232
<WarningsAsErrors />
3333
</PropertyGroup>
3434

3535
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net10.0|AnyCPU'">
3636
<DefineConstants></DefineConstants>
37-
<DocumentationFile>DotNetWorkQueue.Transport.Redis.xml</DocumentationFile>
37+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3838
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3939
<WarningsAsErrors />
4040
</PropertyGroup>

Source/DotNetWorkQueue.Transport.RelationalDatabase/DotNetWorkQueue.Transport.RelationalDatabase.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ https://github.com/blehnen/DotNetWorkQueue/blob/master/CHANGELOG.md</PackageRele
2323
<DefineConstants></DefineConstants>
2424
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2525
<WarningsAsErrors />
26-
<DocumentationFile>DotNetWorkQueue.Transport.RelationalDatabase.xml</DocumentationFile>
26+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2727
</PropertyGroup>
2828

2929
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
3030
<DefineConstants></DefineConstants>
3131
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3232
<WarningsAsErrors />
33-
<DocumentationFile>DotNetWorkQueue.Transport.RelationalDatabase.xml</DocumentationFile>
33+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3434
</PropertyGroup>
3535

3636
<ItemGroup>

Source/DotNetWorkQueue.Transport.SQLite/DotNetWorkQueue.Transport.SQLite.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ https://github.com/blehnen/DotNetWorkQueue/blob/master/CHANGELOG.md </PackageRel
2626

2727
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net10.0|AnyCPU'">
2828
<DefineConstants></DefineConstants>
29-
<DocumentationFile>DotNetWorkQueue.Transport.SQLite.xml</DocumentationFile>
29+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3030
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3131
<WarningsAsErrors />
3232
<WarningsNotAsErrors>NU1902</WarningsNotAsErrors>
3333
</PropertyGroup>
3434

3535
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
3636
<DefineConstants></DefineConstants>
37-
<DocumentationFile>DotNetWorkQueue.Transport.SQLite.xml</DocumentationFile>
37+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3838
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3939
<WarningsAsErrors />
4040
<WarningsNotAsErrors>NU1902</WarningsNotAsErrors>
@@ -43,7 +43,7 @@ https://github.com/blehnen/DotNetWorkQueue/blob/master/CHANGELOG.md </PackageRel
4343
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
4444
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
4545
<WarningsAsErrors />
46-
<DocumentationFile>DotNetWorkQueue.Transport.SQLite.xml</DocumentationFile>
46+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
4747
<WarningsNotAsErrors>NU1902</WarningsNotAsErrors>
4848
</PropertyGroup>
4949

0 commit comments

Comments
 (0)