Skip to content

Commit

Permalink
SWEEP: Added target for .netstandard2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
NightOwl888 committed Dec 25, 2019
1 parent ff58bae commit 0482957
Show file tree
Hide file tree
Showing 28 changed files with 67 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand All @@ -45,6 +45,10 @@
<ProjectReference Include="..\Lucene.Net.Analysis.Common\Lucene.Net.Analysis.Common.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1' ">
<PackageReference Include="System.Text.Encoding.CodePages" Version="$(SystemTextEncodingCodePagesPackageVersion)" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="System.Text.Encoding.CodePages" Version="$(SystemTextEncodingCodePagesPackageVersion)" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net451</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down Expand Up @@ -52,6 +52,10 @@
<PackageReference Include="ICU4N" Version="$(ICU4NPackageVersion)" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' ">
<PackageReference Include="System.Text.Encoding.CodePages" Version="$(SystemTextEncodingCodePagesPackageVersion)" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="System.Text.Encoding.CodePages" Version="$(SystemTextEncodingCodePagesPackageVersion)" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
7 changes: 5 additions & 2 deletions src/Lucene.Net.Benchmark/Lucene.Net.Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down Expand Up @@ -56,7 +56,10 @@
<PackageReference Include="Spatial4n.Core" Version="$(Spatial4nCorePackageVersion)" />
</ItemGroup>

<!-- NOTE: Microsoft's recommendation is not to use the ICloneable interface. We put in a FEATURE_CLONEABLE constant in case anyone wants to add it to the build -->
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' ">
<PackageReference Include="SharpZipLib" Version="$(SharpZipLibPackageVersion)" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="SharpZipLib" Version="$(SharpZipLibPackageVersion)" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
2 changes: 1 addition & 1 deletion src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
2 changes: 1 addition & 1 deletion src/Lucene.Net.Demo/Lucene.Net.Demo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<!-- Demo is deployed through the dotnet/tools/lucene-cli package -->

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
25 changes: 23 additions & 2 deletions src/Lucene.Net.Expressions/Lucene.Net.Expressions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand All @@ -47,6 +47,12 @@
<PackageReference Include="Antlr3.Runtime" Version="$(Antlr3RuntimePackageVersion)" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' ">
<PackageReference Include="System.Reflection.Emit" Version="$(SystemReflectionEmitPackageVersion)" />
<PackageReference Include="System.Reflection.Emit.ILGeneration" Version="$(SystemReflectionEmitILGenerationPackageVersion)" />
<PackageReference Include="System.Reflection.TypeExtensions" Version="$(SystemReflectionTypeExtensionsPackageVersion)" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="System.Reflection.Emit" Version="$(SystemReflectionEmitPackageVersion)" />
<PackageReference Include="System.Reflection.Emit.ILGeneration" Version="$(SystemReflectionEmitILGenerationPackageVersion)" />
Expand All @@ -59,7 +65,7 @@
<PackageReference Include="System.Reflection.TypeExtensions" Version="$(SystemReflectionTypeExtensionsPackageVersion)" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.6' OR '$(TargetFramework)' == 'netstandard2.0' ">
<ItemGroup Condition=" '$(TargetFramework)' != 'net45' ">
<Compile Remove="Properties\Settings.Designer.cs" />
<EmbeddedResource Include="JS\JavascriptCompiler.properties" />
</ItemGroup>
Expand All @@ -69,4 +75,19 @@
<Reference Include="Microsoft.CSharp" />
</ItemGroup>

<ItemGroup>
<Compile Update="Properties\Settings.Designer.cs">
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
</ItemGroup>

<ItemGroup>
<None Update="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>

</Project>
25 changes: 2 additions & 23 deletions src/Lucene.Net.Expressions/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Lucene.Net.Facet/Lucene.Net.Facet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
2 changes: 1 addition & 1 deletion src/Lucene.Net.Grouping/Lucene.Net.Grouping.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
2 changes: 1 addition & 1 deletion src/Lucene.Net.Highlighter/Lucene.Net.Highlighter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
2 changes: 1 addition & 1 deletion src/Lucene.Net.Join/Lucene.Net.Join.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
2 changes: 1 addition & 1 deletion src/Lucene.Net.Memory/Lucene.Net.Memory.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
2 changes: 1 addition & 1 deletion src/Lucene.Net.Misc/Lucene.Net.Misc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
2 changes: 1 addition & 1 deletion src/Lucene.Net.Queries/Lucene.Net.Queries.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
2 changes: 1 addition & 1 deletion src/Lucene.Net.QueryParser/Lucene.Net.QueryParser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
2 changes: 1 addition & 1 deletion src/Lucene.Net.Replicator/Lucene.Net.Replicator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
2 changes: 1 addition & 1 deletion src/Lucene.Net.Sandbox/Lucene.Net.Sandbox.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
2 changes: 1 addition & 1 deletion src/Lucene.Net.Spatial/Lucene.Net.Spatial.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
2 changes: 1 addition & 1 deletion src/Lucene.Net.Suggest/Lucene.Net.Suggest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
6 changes: 5 additions & 1 deletion src/Lucene.Net/Lucene.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand All @@ -38,6 +38,10 @@
<Compile Include="..\CommonAssemblyKeys.cs" Link="Properties\CommonAssemblyKeys.cs" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' ">
<PackageReference Include="Microsoft.CSharp" Version="$(MicrosoftCSharpPackageVersion)" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="Microsoft.CSharp" Version="$(MicrosoftCSharpPackageVersion)" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/dotnet/Lucene.Net.ICU/Lucene.Net.ICU.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Import Project="$(SolutionDir)build/NuGet.props" />

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net45</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<!--<Import Project="$(SolutionDir)build/NuGet.props" />-->

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks>netstandard2.1;netstandard2.0;netstandard1.6</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net451</TargetFrameworks>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

Expand Down

0 comments on commit 0482957

Please sign in to comment.