Skip to content

Commit 7e0c43f

Browse files
committed
Multi target framework support added
1 parent 43396b9 commit 7e0c43f

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ app.UseEndpoints(endpoints =>
174174
```
175175

176176
## References
177-
- [Creating an authentication scheme in ASP.NET Core 2.0](https://joonasw.net/view/creating-auth-scheme-in-aspnet-core-2)
178-
- [aspnet/Security](https://github.com/aspnet/Security)
179-
- [ASP.NET Core Security documentation](https://docs.microsoft.com/en-us/aspnet/core/security)
180177
- [RFC 7617: Technical spec for HTTP Basic](https://tools.ietf.org/html/rfc7617)
178+
- [ASP.NET Core Security documentation](https://docs.microsoft.com/en-us/aspnet/core/security)
179+
- [aspnet/Security](https://github.com/dotnet/aspnetcore/tree/master/src/Security)
180+
- [Creating an authentication scheme in ASP.NET Core 2.0](https://joonasw.net/view/creating-auth-scheme-in-aspnet-core-2)
181181

182182
## License
183183
[MIT License](https://github.com/mihirdilip/aspnetcore-authentication-basic/blob/master/LICENSE.txt)

src/AspNetCore.Authentication.Basic/AspNetCore.Authentication.Basic.csproj

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,39 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
4+
<TargetFrameworks>netcoreapp3.1;netcoreapp3.0;netstandard2.0;net461</TargetFrameworks>
5+
<Version>3.1.5</Version>
6+
<RepositoryUrl>https://github.com/mihirdilip/aspnetcore-authentication-basic/tree/3.1.5</RepositoryUrl>
7+
<PackageProjectUrl>https://github.com/mihirdilip/aspnetcore-authentication-basic/tree/3.1.5</PackageProjectUrl>
8+
<PackageTags>aspnetcore, security, authentication, microsoft, microsoft.aspnetcore.authentication, microsoft-aspnetcore-authentication, microsoft.aspnetcore.authentication.basic, microsoft-aspnetcore-authentication-basic, asp-net-core, netstandard, netstandard20, basic-authentication, basicauthentication, dotnetcore, dotnetcore3.1, asp-net-core-basic-authentication, aspnetcore-basic-authentication, asp-net-core-authentication, aspnetcore-authentication, asp, aspnet, basic, authentication-scheme</PackageTags>
9+
<PackageReleaseNotes></PackageReleaseNotes>
10+
<Description>Easy to use and very light weight Microsoft style Basic Scheme Authentication implementation for ASP.NET Core.</Description>
511
<Authors>Mihir Dilip</Authors>
612
<Company>Mihir Dilip</Company>
7-
<Description>Easy to use and very light weight Microsoft style Basic Scheme Authentication Implementation for ASP.NET Core.</Description>
8-
<RepositoryUrl>https://github.com/mihirdilip/aspnetcore-authentication-basic/tree/2.2.0</RepositoryUrl>
13+
<Copyright>Copyright (c) 2020 Mihir Dilip</Copyright>
914
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
10-
<PackageProjectUrl>https://github.com/mihirdilip/aspnetcore-authentication-basic/tree/2.2.0</PackageProjectUrl>
11-
<Version>2.2.0</Version>
12-
<Copyright>Copyright (c) 2019 Mihir Dilip</Copyright>
13-
<PackageLicenseUrl></PackageLicenseUrl>
14-
<RepositoryType>GitHub</RepositoryType>
15+
<RepositoryType>git</RepositoryType>
1516
<PackageIconUrl />
16-
<PackageTags>aspnetcore, security, authentication, microsoft, microsoft.aspnetcore.authentication, microsoft-aspnetcore-authentication, microsoft.aspnetcore.authentication.basic, microsoft-aspnetcore-authentication-basic, asp-net-core, netstandard, netstandard20, basic-authentication, basicauthentication, dotnetcore, asp-net-core-basic-authentication, aspnetcore-basic-authentication, asp-net-core-authentication, aspnetcore-authentication, asp, aspnet, basic, authentication-scheme</PackageTags>
1717
<NeutralLanguage />
1818
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
19-
<PackageReleaseNotes></PackageReleaseNotes>
2019
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
2120
<RootNamespace>AspNetCore.Authentication.Basic</RootNamespace>
2221
<PackageId>AspNetCore.Authentication.Basic</PackageId>
2322
<Product>AspNetCore.Authentication.Basic</Product>
2423
</PropertyGroup>
2524

2625
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
27-
<DocumentationFile>bin\Release\netstandard2.0\Mihir.AspNetCore.Authentication.Basic.xml</DocumentationFile>
26+
<DocumentationFile>bin\Release\$(TargetFramework)\AspNetCore.Authentication.Basic.xml</DocumentationFile>
2827
</PropertyGroup>
2928

30-
<ItemGroup>
29+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' Or '$(TargetFramework)' == 'net461'">
3130
<PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.2.0" />
3231
</ItemGroup>
3332

33+
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0' Or '$(TargetFramework)' == 'netcoreapp3.1'">
34+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
35+
</ItemGroup>
36+
3437
<ItemGroup>
3538
<None Include="..\..\LICENSE.txt">
3639
<Pack>True</Pack>

0 commit comments

Comments
 (0)