File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 44
55 - Added support for command validators using ` CommandLineApplication.Validators ` and added a new OnValidate convention
66 - Fix minor bug in ArgumentEscaper where some strings were not properly escaped
7+ - Update to System.ComponentModel.Annotations 4.4.1 (netstandard2.0 only)
78
89## [ v2.2.0-rc]
910
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ McMaster.Extensions.CommandLineUtils.ArgumentEscaper
2020 <WarningsNotAsErrors >$(WarningsNotAsErrors);1591</WarningsNotAsErrors >
2121 </PropertyGroup >
2222
23- <ItemGroup Condition =" '$(TargetFramework)' != 'net45 '" >
24- <PackageReference Include =" System.ComponentModel.Annotations" Version =" 4.1.0 " />
23+ <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0 '" >
24+ <PackageReference Include =" System.ComponentModel.Annotations" Version =" 4.4.1 " />
2525 </ItemGroup >
2626
2727 <ItemGroup Condition =" '$(TargetFramework)' == 'net45'" >
@@ -30,6 +30,8 @@ McMaster.Extensions.CommandLineUtils.ArgumentEscaper
3030 </ItemGroup >
3131
3232 <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard1.6'" >
33+ <!-- Keep these at the lowest possible version to support .NET Core 1. -->
34+ <PackageReference Include =" System.ComponentModel.Annotations" Version =" 4.1.0" />
3335 <PackageReference Include =" System.Diagnostics.Process" Version =" 4.1.0" />
3436 <PackageReference Include =" System.Threading.Thread" Version =" 4.0.0" />
3537 <PackageReference Include =" System.ValueTuple" Version =" 4.4.0" />
You can’t perform that action at this time.
0 commit comments