|
4 | 4 | <Description>A simple basic authentication middleware.</Description> |
5 | 5 | <Copyright>Marcin Smółka zNET Computer Solutions</Copyright> |
6 | 6 | <Authors>Marcin Smółka</Authors> |
7 | | - <TargetFrameworks>net461;netstandard2.0</TargetFrameworks> |
| 7 | + <TargetFrameworks>net461;netstandard2.0;netcoreapp3.0</TargetFrameworks> |
8 | 8 | <GenerateDocumentationFile>true</GenerateDocumentationFile> |
9 | 9 | <AssemblyName>ZNetCS.AspNetCore.Authentication.Basic</AssemblyName> |
10 | 10 | <PackageId>ZNetCS.AspNetCore.Authentication.Basic</PackageId> |
11 | 11 | <PackageTags>aspnetcore;aspnetcoremvc;middleware;authentication;basic;ASP.NET;MVC</PackageTags> |
12 | 12 | <PackageProjectUrl>https://github.com/msmolka/ZNetCS.AspNetCore.Authentication.Basic</PackageProjectUrl> |
13 | 13 | <PackageLicenseUrl>https://raw.githubusercontent.com/msmolka/ZNetCS.AspNetCore.Authentication.Basic/master/LICENSE</PackageLicenseUrl> |
| 14 | + <PackageReleaseNotes>Cleanup dependencies.</PackageReleaseNotes> |
14 | 15 | <RepositoryType>git</RepositoryType> |
15 | 16 | <RepositoryUrl>https://github.com/msmolka/ZNetCS.AspNetCore.Authentication.Basic</RepositoryUrl> |
16 | | - <VersionPrefix>3.0.1</VersionPrefix> |
17 | | - <NoWarn>$(NoWarn);NU5125</NoWarn> <!-- remove once tools are truly ready for NuGet's new 'license' element --> |
| 17 | + <VersionPrefix>3.0.2</VersionPrefix> |
| 18 | + <NoWarn>$(NoWarn);NU5125</NoWarn> |
| 19 | + <!-- remove once tools are truly ready for NuGet's new 'license' element --> |
18 | 20 | <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> |
19 | 21 | <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> |
20 | 22 | <GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute> |
21 | 23 | <GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> |
22 | 24 | <GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute> |
| 25 | + <CodeAnalysisRuleSet>..\..\CommonRuleSet.ruleset</CodeAnalysisRuleSet> |
| 26 | + <LangVersion>8.0</LangVersion> |
23 | 27 | </PropertyGroup> |
24 | | - |
| 28 | + |
25 | 29 | <ItemGroup> |
26 | 30 | <AdditionalFiles Include="..\..\stylecop.json" Link="stylecop.json" /> |
27 | 31 | </ItemGroup> |
28 | 32 |
|
29 | | - <PropertyGroup> |
30 | | - <CodeAnalysisRuleSet>..\..\CommonRuleSet.ruleset</CodeAnalysisRuleSet> |
31 | | - </PropertyGroup> |
32 | | - |
33 | | - <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net461|AnyCPU'"> |
34 | | - </PropertyGroup> |
35 | | - |
36 | | - <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net461|AnyCPU'"> |
| 33 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> |
37 | 34 | <TreatWarningsAsErrors /> |
38 | 35 | </PropertyGroup> |
39 | 36 |
|
40 | 37 | <ItemGroup> |
41 | | - <PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.2.0" /> |
42 | | - <PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" /> |
43 | | - <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="2.2.0" /> |
44 | | - <PackageReference Include="Microsoft.Extensions.Logging" Version="2.2.0" /> |
45 | | - <PackageReference Include="Microsoft.Extensions.Options" Version="2.2.0" /> |
46 | | - <PackageReference Include="Microsoft.Net.Http.Headers" Version="2.2.0" /> |
47 | | - <PackageReference Include="StyleCop.Analyzers" Version="1.1.1-rc.114"> |
48 | | - <PrivateAssets>All</PrivateAssets> |
| 38 | + <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19367-01" PrivateAssets="all" /> |
| 39 | + <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.6"> |
| 40 | + <PrivateAssets>all</PrivateAssets> |
| 41 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 42 | + </PackageReference> |
| 43 | + <PackageReference Include="StyleCop.Analyzers" Version="1.1.118"> |
| 44 | + <PrivateAssets>all</PrivateAssets> |
| 45 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
49 | 46 | </PackageReference> |
50 | 47 | </ItemGroup> |
51 | 48 |
|
52 | | - <ItemGroup Condition=" '$(TargetFramework)' == 'net461' "> |
53 | | - <Reference Include="System" /> |
54 | | - <Reference Include="Microsoft.CSharp" /> |
| 49 | + <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'"> |
| 50 | + <FrameworkReference Include="Microsoft.AspNetCore.App" /> |
| 51 | + </ItemGroup> |
| 52 | + |
| 53 | + <ItemGroup Condition="'$(TargetFramework)' == 'net461' OR '$(TargetFramework)' == 'netstandard2.0'"> |
| 54 | + <PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.2.0" /> |
55 | 55 | </ItemGroup> |
56 | 56 |
|
57 | 57 | </Project> |
0 commit comments