Skip to content

Commit a6f6534

Browse files
author
Bruno de Souza Melo
committed
.NET 8 support.
1 parent 91cee94 commit a6f6534

File tree

4 files changed

+36
-17
lines changed

4 files changed

+36
-17
lines changed

docs/Publishing.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
nuget.exe push -Source "nuvtools" -ApiKey az NuvTools.AspNetCore.7.0.1.nupkg
2-
nuget.exe push -Source "nuvtools" -ApiKey az NuvTools.AspNetCore.EntityFrameworkCore.7.0.1.nupkg
1+
nuget.exe push -Source "nuvtools" -ApiKey az NuvTools.AspNetCore.8.0.0.nupkg
2+
nuget.exe push -Source "nuvtools" -ApiKey az NuvTools.AspNetCore.EntityFrameworkCore.8.0.0.nupkg

src/NuvTools.AspNetCore.EntityFrameworkCore/NuvTools.AspNetCore.EntityFrameworkCore.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net6;net7</TargetFrameworks>
4+
<TargetFrameworks>net6;net7;net8</TargetFrameworks>
55
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
66
<Authors>Nuv Tools</Authors>
7-
<Copyright>Copyright © 2023 Nuv Tools</Copyright>
7+
<Copyright>Copyright © 2024 Nuv Tools</Copyright>
88
<PackageProjectUrl>https://nuv.tools</PackageProjectUrl>
99
<SignAssembly>True</SignAssembly>
1010
<AssemblyOriginatorKeyFile>NuvTools.AspNetCore.EntityFrameworkCore.snk</AssemblyOriginatorKeyFile>
1111
<Description>EntityFramework Core helper library to use with ASP.NET Aplications.</Description>
12-
<Version>7.1.0</Version>
12+
<Version>8.0.0</Version>
1313
<GenerateDocumentationFile>True</GenerateDocumentationFile>
1414
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
1515
<PackageIcon>icon.png</PackageIcon>
@@ -26,10 +26,22 @@
2626

2727
<ItemGroup>
2828
<FrameworkReference Include="Microsoft.AspNetCore.App" />
29-
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="7.0.10" />
30-
<PackageReference Include="NuvTools.Data.EntityFrameworkCore" Version="7.1.0" />
29+
30+
<PackageReference Include="NuvTools.Data.EntityFrameworkCore" Version="8.0.0" />
3131
</ItemGroup>
3232

33+
<ItemGroup Condition="'$(targetframework)' == 'net6'">
34+
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="7.0.16" />
35+
</ItemGroup>
36+
37+
<ItemGroup Condition="'$(targetframework)' == 'net7'">
38+
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="7.0.16" />
39+
</ItemGroup>
40+
41+
<ItemGroup Condition="'$(targetframework)' == 'net8'">
42+
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.2" />
43+
</ItemGroup>
44+
3345
<ItemGroup>
3446
<None Include="..\..\icon.png">
3547
<Link>icon.png</Link>

src/NuvTools.AspNetCore/NuvTools.AspNetCore.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net6;net7</TargetFrameworks>
4+
<TargetFrameworks>net6;net7;net8</TargetFrameworks>
55
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
66
<Authors>Nuv Tools</Authors>
7-
<Copyright>Copyright © 2023 Nuv Tools</Copyright>
7+
<Copyright>Copyright © 2024 Nuv Tools</Copyright>
88
<PackageProjectUrl>https://nuv.tools</PackageProjectUrl>
99
<SignAssembly>True</SignAssembly>
1010
<AssemblyOriginatorKeyFile>NuvTools.AspNetCore.snk</AssemblyOriginatorKeyFile>
1111
<Description>Common library with helpers to use with ASP.NET Aplications.</Description>
12-
<Version>7.1.0</Version>
12+
<Version>8.0.0</Version>
1313
<GenerateDocumentationFile>True</GenerateDocumentationFile>
1414
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
1515
<PackageIcon>icon.png</PackageIcon>
@@ -42,15 +42,19 @@
4242
</ItemGroup>
4343

4444
<ItemGroup>
45-
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
45+
<PackageReference Include="AutoMapper" Version="13.0.1" />
4646
</ItemGroup>
4747

4848
<ItemGroup Condition="'$(targetframework)' == 'net6'">
49-
<PackageReference Include="Microsoft.JSInterop" Version="6.0.21" />
49+
<PackageReference Include="Microsoft.JSInterop" Version="6.0.27" />
5050
</ItemGroup>
5151

5252
<ItemGroup Condition="'$(targetframework)' == 'net7'">
53-
<PackageReference Include="Microsoft.JSInterop" Version="7.0.10" />
53+
<PackageReference Include="Microsoft.JSInterop" Version="7.0.16" />
54+
</ItemGroup>
55+
56+
<ItemGroup Condition="'$(targetframework)' == 'net8'">
57+
<PackageReference Include="Microsoft.JSInterop" Version="8.0.2" />
5458
</ItemGroup>
5559

5660
</Project>

tests/NuvTools.AspNetCore.Tests/NuvTools.AspNetCore.Tests.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

@@ -10,10 +10,13 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
14-
<PackageReference Include="NUnit" Version="3.13.3" />
13+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
14+
<PackageReference Include="NUnit" Version="4.0.1" />
1515
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
16-
<PackageReference Include="NUnit.Analyzers" Version="3.6.1" />
16+
<PackageReference Include="NUnit.Analyzers" Version="4.0.1">
17+
<PrivateAssets>all</PrivateAssets>
18+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
19+
</PackageReference>
1720
</ItemGroup>
1821

1922
<ItemGroup>

0 commit comments

Comments
 (0)