Skip to content

Commit

Permalink
Update dependency on data annotations to 4.4.1 for ns2.0 only
Browse files Browse the repository at this point in the history
  • Loading branch information
natemcmaster committed Mar 31, 2018
1 parent a7814e7 commit 7447365
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Added support for command validators using `CommandLineApplication.Validators` and added a new OnValidate convention
- Fix minor bug in ArgumentEscaper where some strings were not properly escaped
- Update to System.ComponentModel.Annotations 4.4.1 (netstandard2.0 only)

## [v2.2.0-rc]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ McMaster.Extensions.CommandLineUtils.ArgumentEscaper
<WarningsNotAsErrors>$(WarningsNotAsErrors);1591</WarningsNotAsErrors>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' != 'net45'">
<PackageReference Include="System.ComponentModel.Annotations" Version="4.1.0" />
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.ComponentModel.Annotations" Version="4.4.1" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
Expand All @@ -30,6 +30,8 @@ McMaster.Extensions.CommandLineUtils.ArgumentEscaper
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.6'">
<!-- Keep these at the lowest possible version to support .NET Core 1. -->
<PackageReference Include="System.ComponentModel.Annotations" Version="4.1.0" />
<PackageReference Include="System.Diagnostics.Process" Version="4.1.0" />
<PackageReference Include="System.Threading.Thread" Version="4.0.0" />
<PackageReference Include="System.ValueTuple" Version="4.4.0" />
Expand Down

0 comments on commit 7447365

Please sign in to comment.