Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
saucecontrol committed Dec 8, 2020
1 parent 7712873 commit bd2f9dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ How to Use It

3) Build your project as you normally would.

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.
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.

How it Works
------------
Expand Down Expand Up @@ -219,16 +219,16 @@ Configuration
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.

```XML
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<PropertyGroup>
<InheritDocEnabled>false</InheritDocEnabled>
</PropertyGroup>
```

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

```XML
<ItemGroup Condition="'$(Configuration)'!='Debug'">
<PackageReference Include="SauceControl.InheritDoc" Version="1.1.1" PrivateAssets="all" />
<ItemGroup Condition="'$(Configuration)'!='Dist'">
<PackageReference Include="SauceControl.InheritDoc" Version="1.2.0" PrivateAssets="all" />
</ItemGroup>
```

Expand Down
2 changes: 1 addition & 1 deletion src/InheritDoc/InheritDoc.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<VersionPrefix>1.1.0</VersionPrefix>
<VersionPrefix>1.2.0</VersionPrefix>
<TargetFrameworks>netstandard2.0;net46</TargetFrameworks>
</PropertyGroup>

Expand Down

0 comments on commit bd2f9dd

Please sign in to comment.