-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for AutoMapper v11 (#12)
* Added tests for AutoMapper 11.0.0 * Added netstandard2.1 target framework
- Loading branch information
Showing
13 changed files
with
121 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/AutoFixture.Community.AutoMapper/AutoMapperCustomization.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
.../AutoFixture.Community.AutoMapper10.Tests/AutoFixture.Community.AutoMapper10.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<Import Project="..\..\Common.Tests.props" /> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net462;netcoreapp2.1</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="AutoMapper" Version="10.0.0" /> | ||
|
||
<PackageReference Include="AutoFixture" Version="4.17.0" /> | ||
<PackageReference Include="AutoFixture.AutoMoq" Version="4.17.0" /> | ||
<PackageReference Include="AutoFixture.Idioms" Version="4.17.0" /> | ||
<PackageReference Include="AutoFixture.Xunit2" Version="4.17.0" /> | ||
|
||
<PackageReference Include="SemanticComparison" Version="4.1.0" /> | ||
<PackageReference Include="Microsoft.Bcl.HashCode" Version="1.1.1" /> | ||
<PackageReference Include="Moq" Version="4.16.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Compile Include="..\AutoFixture.Community.AutoMapper.Tests\**\*.cs" Link="%(RecursiveDir)%(Filename)%(Extension)" /> | ||
<Compile Remove="..\AutoFixture.Community.AutoMapper.Tests\obj\**" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp2.1'"> | ||
<ProjectReference Include="..\..\src\AutoFixture.Community.AutoMapper\AutoFixture.Community.AutoMapper.csproj"> | ||
<SetTargetFramework>TargetFramework=netstandard2.0</SetTargetFramework> | ||
</ProjectReference> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)'=='net462'"> | ||
<ProjectReference Include="..\..\src\AutoFixture.Community.AutoMapper\AutoFixture.Community.AutoMapper.csproj"> | ||
<SetTargetFramework>TargetFramework=net461</SetTargetFramework> | ||
</ProjectReference> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters