Skip to content

Commit 7726856

Browse files
authored
Use the GenerateDocumentationFile option instead of creating a custom path (#19)
1 parent 97159d8 commit 7726856

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and adheres to a project-specific [Versioning](/README.md).
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- In some cases the XML documentation file had a bad file name when the `$(AssemblyName)` variable was not set during the build process
13+
1014
## [3.0.2] - 2023-07-17
1115

1216
### Fixed

build/Neolution.CodeAnalysis.TestsRuleset.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33

44
<PropertyGroup Condition="'$(Configuration)' != 'Debug'">
5-
<DocumentationFile>bin/$(Configuration)/$(TargetFramework)/$(AssemblyName).xml</DocumentationFile>
5+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
</PropertyGroup>
88
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">

build/Neolution.CodeAnalysis.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33

44
<PropertyGroup Condition="'$(Configuration)' != 'Debug'">
5-
<DocumentationFile>bin/$(Configuration)/$(TargetFramework)/$(AssemblyName).xml</DocumentationFile>
5+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
</PropertyGroup>
88
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">

0 commit comments

Comments
 (0)