Skip to content

Commit

Permalink
Updated to net8.0 and EF8 (#11)
Browse files Browse the repository at this point in the history
Co-authored-by: Henk Kin <[email protected]>
  • Loading branch information
HenkKin and Henk Kin authored Jan 13, 2024
1 parent ad6e64c commit 1c0d73a
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net7.0;net6.0;</TargetFrameworks>
<TargetFrameworks>net8.0;net7.0;net6.0;</TargetFrameworks>
</PropertyGroup>

<ItemGroup Condition="('$(TargetFramework)' == 'net6.0')">
Expand All @@ -21,16 +21,16 @@
<DefineConstants>NET7_0</DefineConstants>
</PropertyGroup>

<!--<ItemGroup Condition="('$(TargetFramework)' == 'net8.0')">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="[8,)"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="[8,)"/>
<ItemGroup Condition="('$(TargetFramework)' == 'net8.0')">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="[8,)" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="[8,)" />
</ItemGroup>
<PropertyGroup Condition="('$(TargetFramework)' == 'net8.0')">
<DefineConstants>NET8_0</DefineConstants>
</PropertyGroup>-->
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.6" />
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net7.0;net6.0;</TargetFrameworks>
<TargetFrameworks>net8.0;net7.0;net6.0;</TargetFrameworks>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand All @@ -20,20 +20,20 @@
<DefineConstants>NET7_0</DefineConstants>
</PropertyGroup>

<!--<ItemGroup Condition="('$(TargetFramework)' == 'net8.0')">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="[8,)"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="[8,)"/>
<ItemGroup Condition="('$(TargetFramework)' == 'net8.0')">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="[8,)" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="[8,)" />
</ItemGroup>
<PropertyGroup Condition="('$(TargetFramework)' == 'net8.0')">
<DefineConstants>NET8_0</DefineConstants>
</PropertyGroup>-->
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="Moq.AutoMock" Version="3.5.0" />
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PackageReference Include="xunit" Version="2.6.5" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net7.0;net6.0;</TargetFrameworks>
<TargetFrameworks>net8.0;net7.0;net6.0;</TargetFrameworks>
<Authors>Henk Kin</Authors>
<Company>Henk Kin</Company>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand All @@ -12,7 +12,7 @@
<PackageTags>Clone DeepClone Entity Entities Include ThenInclude Core EntityFramework EF</PackageTags>
<Description>Cloning entities using EntityFrameworkCore configuration</Description>
<Copyright>Henk Kin</Copyright>
<Version>7.1.0</Version>
<Version>8.0.0</Version>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
Expand All @@ -25,7 +25,7 @@
</PropertyGroup>

<ItemGroup>
<None Include="../README.md" Pack="true" PackagePath="\"/>
<None Include="../README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup Condition="('$(TargetFramework)' == 'net6.0')">
Expand All @@ -42,14 +42,14 @@
<DefineConstants>NET7_0</DefineConstants>
</PropertyGroup>

<!--<ItemGroup Condition="('$(TargetFramework)' == 'net8.0')">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="[8,)"/>
<ItemGroup Condition="('$(TargetFramework)' == 'net8.0')">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="[8,)" />
</ItemGroup>
<PropertyGroup Condition="('$(TargetFramework)' == 'net8.0')">
<DefineConstants>NET8_0</DefineConstants>
</PropertyGroup>-->
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ EntityCloner.Microsoft.EntityFrameworkCore

Cloning entities using EntityFrameworkCore configuration.

This library is Cross-platform, supporting `net6.0` ans `net7.0`.
This library is Cross-platform, supporting `net6.0`, `net7.0` and `net8.0`.


### Installing EntityCloner.Microsoft.EntityFrameworkCore
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 7.0.{build}
version: 8.0.{build}
image:
- Visual Studio 2022

Expand Down

0 comments on commit 1c0d73a

Please sign in to comment.