Skip to content

Commit ae84c7b

Browse files
committed
Updating project meta data. Also merging dependencies of all target frameworks into one item group. Bumping dependencies to the latest versions.
1 parent 837b727 commit ae84c7b

File tree

3 files changed

+10
-21
lines changed

3 files changed

+10
-21
lines changed

docs/Griesoft.AspNetCore.ReCaptcha.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ReCaptcha/ReCaptcha.csproj

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1212
<Nullable>enable</Nullable>
1313
<LangVersion>latest</LangVersion>
14-
<Description>A Google reCPATCHA validation wrapper service for ASP.NET Core. With only a few simple setup steps you are ready to block bots from filling in and submitting forms on your website.</Description>
15-
<Copyright>2020 © Griesinger Software</Copyright>
14+
<Description>A Google reCAPTCHA validation wrapper service for ASP.NET Core. With only a few simple setup steps you are ready to block bots from filling in and submitting forms on your website.</Description>
15+
<Copyright>2022 © Griesinger Software</Copyright>
1616
<PackageProjectUrl>https://github.com/jgdevlabs/aspnetcore-recaptcha</PackageProjectUrl>
1717
<RepositoryUrl>https://github.com/jgdevlabs/aspnetcore-recaptcha</RepositoryUrl>
1818
<NeutralLanguage>en</NeutralLanguage>
19-
<PackageTags>aspnetcore;recaptcha;aspnetcoremvc;actionfilter;google;razor;recaptcha-v2;recaptcha-v3;taghelper</PackageTags>
19+
<PackageTags>aspnetcore;recaptcha;aspnetcoremvc;recaptcha-v2;recaptcha-v3</PackageTags>
2020
</PropertyGroup>
2121

2222
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -28,22 +28,14 @@
2828
<PrivateAssets>all</PrivateAssets>
2929
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3030
</PackageReference>
31+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.0" />
32+
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" />
33+
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" />
34+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="2.2.0" />
35+
<PackageReference Include="Microsoft.AspNetCore.Razor" Version="2.2.0" />
3136
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
3237
</ItemGroup>
3338

34-
<ItemGroup Condition="'$(TargetFramework)' != 'net461'">
35-
<FrameworkReference Include="Microsoft.AspNetCore.App" />
36-
</ItemGroup>
37-
38-
<ItemGroup Condition="'$(TargetFramework)' == 'net461'">
39-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="2.1.0" />
40-
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="2.1.0" />
41-
<PackageReference Include="Microsoft.Extensions.Http" Version="2.1.0" />
42-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="2.0.0" />
43-
<PackageReference Include="Microsoft.AspNetCore.Razor" Version="2.1.0" />
44-
<PackageReference Include="Newtonsoft.Json" Version="11.0.1" />
45-
</ItemGroup>
46-
4739
<ItemGroup>
4840
<EmbeddedResource Update="Localization\Resources.resx">
4941
<Generator>ResXFileCodeGenerator</Generator>
@@ -63,8 +55,4 @@
6355
</Compile>
6456
</ItemGroup>
6557

66-
<PropertyGroup Condition="'$(TargetFramework)' != 'netcoreapp3.0'">
67-
<NoWarn>$(NoWarn);8600;8601;8602;8603;8604</NoWarn>
68-
</PropertyGroup>
69-
7058
</Project>

tests/ReCaptcha.Tests/Filters/ValidateRecaptchaFilterTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using Griesoft.AspNetCore.ReCaptcha.Filters;
88
using Griesoft.AspNetCore.ReCaptcha.Services;
99
using Microsoft.AspNetCore.Http;
10+
using Microsoft.AspNetCore.Http.Internal;
1011
using Microsoft.AspNetCore.Mvc;
1112
using Microsoft.AspNetCore.Mvc.Abstractions;
1213
using Microsoft.AspNetCore.Mvc.Filters;

0 commit comments

Comments
 (0)