Skip to content

Commit 1f5aa34

Browse files
authored
Merge pull request #78 from slubowsky/master
Update to AutoMapper 13
2 parents e173021 + d6379d2 commit 1f5aa34

File tree

2 files changed

+7
-19
lines changed

2 files changed

+7
-19
lines changed

src/AutoMapper.Collection.EntityFrameworkCore.Tests/AutoMapper.Collection.EntityFrameworkCore.Tests.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0</TargetFrameworks>
55
<AssemblyName>AutoMapper.Collection.EntityFrameworkCore.Tests</AssemblyName>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
@@ -10,17 +10,12 @@
1010
<ProjectReference Include="..\AutoMapper.Collection.EntityFrameworkCore\AutoMapper.Collection.EntityFrameworkCore.csproj" />
1111
</ItemGroup>
1212

13-
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
14-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="5.0.0" />
15-
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
16-
</ItemGroup>
17-
18-
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
13+
<ItemGroup>
14+
<PackageReference Include="AutoMapper" Version="13.0.1" />
1915
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.0" />
2016
</ItemGroup>
2117

2218
<ItemGroup>
23-
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.0" />
2419
<PackageReference Include="FluentAssertions" Version="5.4.1" />
2520
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
2621
<PackageReference Include="xunit" Version="2.4.1" />

src/AutoMapper.Collection.EntityFrameworkCore/AutoMapper.Collection.EntityFrameworkCore.csproj

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Description>Collection updating support for EntityFrameworkCore with AutoMapper. Extends DBSet&lt;T&gt; with Persist&lt;TDto&gt;().InsertUpdate(dto) and Persist&lt;TDto&gt;().Delete(dto). Will find the matching object and will Insert/Update/Delete.</Description>
55
<Authors>Tyler Carlson</Authors>
6-
<TargetFrameworks>netstandard2.1;net6.0</TargetFrameworks>
6+
<TargetFrameworks>net6.0</TargetFrameworks>
77
<AssemblyName>AutoMapper.Collection.EntityFrameworkCore</AssemblyName>
88
<PackageId>AutoMapper.Collection.EntityFrameworkCore</PackageId>
99
<PackageIcon>icon.png</PackageIcon>
@@ -24,8 +24,9 @@
2424
</ItemGroup>
2525

2626
<ItemGroup>
27-
<PackageReference Include="AutoMapper.Collection" Version="[9.0.0,10.0.0)" />
28-
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="[6.0.0,7.0.0)" />
27+
<PackageReference Include="AutoMapper.Collection" Version="[10.0.0,11.0.0)" />
28+
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="[7.0.0,8.0.0)" />
29+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.0" />
2930
</ItemGroup>
3031

3132
<ItemGroup>
@@ -39,12 +40,4 @@
3940
</PackageReference>
4041
</ItemGroup>
4142

42-
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' ">
43-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.0" />
44-
</ItemGroup>
45-
46-
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
47-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.0" />
48-
</ItemGroup>
49-
5043
</Project>

0 commit comments

Comments
 (0)