|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | | - <TargetFramework>netcoreapp3.1</TargetFramework> |
| 4 | + <TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks> |
5 | 5 | <AssemblyName>NetDevPack.Identity</AssemblyName> |
6 | 6 | <RootNamespace>NetDevPack.Identity</RootNamespace> |
7 | | - <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
8 | 7 | <PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance> |
9 | 8 | <Authors>Eduardo Pires</Authors> |
10 | 9 | <Company>desenvolvedor.io</Company> |
|
20 | 19 | <Version>1.2.0</Version> |
21 | 20 | </PropertyGroup> |
22 | 21 |
|
23 | | - <ItemGroup> |
24 | | - <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.1.4" /> |
25 | | - <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="3.1.4" /> |
26 | | - <PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="3.1.4" /> |
27 | | - <PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.4" /> |
| 22 | + <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'"> |
| 23 | + <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.1.15" /> |
| 24 | + <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="3.1.15" /> |
| 25 | + <PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="3.1.15" /> |
| 26 | + <PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.15" /> |
| 27 | + </ItemGroup> |
| 28 | + |
| 29 | + <ItemGroup Condition="'$(TargetFramework)' == 'net5.0'"> |
| 30 | + <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.6" /> |
| 31 | + <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.6" /> |
| 32 | + <PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="5.0.6" /> |
| 33 | + <PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.6" /> |
28 | 34 | </ItemGroup> |
29 | 35 |
|
| 36 | + |
30 | 37 | <ItemGroup> |
31 | 38 | <None Include="..\..\assets\IconNuget.png"> |
32 | 39 | <Pack>True</Pack> |
33 | 40 | <PackagePath></PackagePath> |
34 | 41 | </None> |
35 | 42 | </ItemGroup> |
36 | 43 |
|
| 44 | + |
37 | 45 | </Project> |
0 commit comments