Skip to content

Commit bd2f9dd

Browse files
committed
v1.2.0
1 parent 7712873 commit bd2f9dd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ How to Use It
1818

1919
3) Build your project as you normally would.
2020

21-
The XML docs will be post-processed automatically with each build, whether you use Visual Studio, dotnet CLI, or anything else that hosts the MSBuild engine.
21+
The XML docs will be post-processed automatically with each non-debug build, whether you use Visual Studio, dotnet CLI, or anything else that hosts the MSBuild engine.
2222

2323
How it Works
2424
------------
@@ -219,16 +219,16 @@ Configuration
219219
InheritDoc is enabled by default for all non-debug builds. It can be enabled or disabled explicitly by setting the `InheritDocEnabled` MSBuild property in your project.
220220

221221
```XML
222-
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
222+
<PropertyGroup>
223223
<InheritDocEnabled>false</InheritDocEnabled>
224224
</PropertyGroup>
225225
```
226226

227-
The same can be achieved by conditionally incuding the NuGet package.
227+
Alternatively, you can conditionally incude the NuGet package only for specific configurations.
228228

229229
```XML
230-
<ItemGroup Condition="'$(Configuration)'!='Debug'">
231-
<PackageReference Include="SauceControl.InheritDoc" Version="1.1.1" PrivateAssets="all" />
230+
<ItemGroup Condition="'$(Configuration)'!='Dist'">
231+
<PackageReference Include="SauceControl.InheritDoc" Version="1.2.0" PrivateAssets="all" />
232232
</ItemGroup>
233233
```
234234

src/InheritDoc/InheritDoc.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<VersionPrefix>1.1.0</VersionPrefix>
4+
<VersionPrefix>1.2.0</VersionPrefix>
55
<TargetFrameworks>netstandard2.0;net46</TargetFrameworks>
66
</PropertyGroup>
77

0 commit comments

Comments
 (0)