Skip to content

Commit 1a1a666

Browse files
authored
Empty configuration string should mean "Debug" (#20)
and documentation files can always be generated
1 parent 382f558 commit 1a1a666

3 files changed

Lines changed: 20 additions & 2 deletions

File tree

CHANGELOG.md

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

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- If build configuration is not passed explicitly, it should be like passing `Debug`
13+
14+
### Changed
15+
16+
- The XML documentation can be generated in all build configurations, there is no need to restrict it.
17+
1018
## [3.0.3] - 2023-07-20
1119

1220
### Fixed

build/Neolution.CodeAnalysis.TestsRuleset.props

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33

4-
<PropertyGroup Condition="'$(Configuration)' != 'Debug'">
4+
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
5+
6+
<PropertyGroup>
57
<GenerateDocumentationFile>true</GenerateDocumentationFile>
8+
</PropertyGroup>
9+
10+
<PropertyGroup Condition="'$(Configuration)' != 'Debug'">
611
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
712
</PropertyGroup>
813
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">

build/Neolution.CodeAnalysis.props

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33

4-
<PropertyGroup Condition="'$(Configuration)' != 'Debug'">
4+
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
5+
6+
<PropertyGroup>
57
<GenerateDocumentationFile>true</GenerateDocumentationFile>
8+
</PropertyGroup>
9+
10+
<PropertyGroup Condition="'$(Configuration)' != 'Debug'">
611
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
712
</PropertyGroup>
813
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">

0 commit comments

Comments
 (0)