File tree Expand file tree Collapse file tree 3 files changed +15
-11
lines changed
src/AutoMapper.Extensions.ExpressionMapping
tests/AutoMapper.Extensions.ExpressionMapping.UnitTests Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<Summary >Expression mapping (OData) extensions for AutoMapper</Summary >
5
5
<Description >Expression mapping (OData) extensions for AutoMapper</Description >
6
- <TargetFramework >net6 .0</TargetFramework >
6
+ <TargetFramework >net8 .0</TargetFramework >
7
7
<GenerateDocumentationFile >true</GenerateDocumentationFile >
8
8
<AssemblyOriginatorKeyFile >..\..\AutoMapper.snk</AssemblyOriginatorKeyFile >
9
9
<SignAssembly >true</SignAssembly >
25
25
26
26
<ItemGroup >
27
27
<None Include =" ..\..\icon.png" Pack =" true" PackagePath =" " />
28
+ <None Include =" ..\..\README.md" Pack =" true" PackagePath =" " />
28
29
</ItemGroup >
29
30
30
31
<ItemGroup >
31
- <PackageReference Include =" AutoMapper" Version =" [13 .0.0,14 .0.0)" />
32
- <PackageReference Include =" MinVer" Version =" 2.3 .0" >
32
+ <PackageReference Include =" AutoMapper" Version =" [14 .0.0,15 .0.0)" />
33
+ <PackageReference Include =" MinVer" Version =" 6.0 .0" >
33
34
<PrivateAssets >all</PrivateAssets >
34
35
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
35
36
</PackageReference >
36
- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1 .0.0" PrivateAssets =" All" />
37
+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8 .0.0" PrivateAssets =" All" />
37
38
</ItemGroup >
38
39
39
40
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net6 .0</TargetFramework >
4
+ <TargetFramework >net8 .0</TargetFramework >
5
5
6
6
<IsPackable >false</IsPackable >
7
7
</PropertyGroup >
8
8
9
9
<ItemGroup >
10
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.9.0" />
11
- <PackageReference Include =" Microsoft.OData.Edm" Version =" 7.10.0" />
12
- <PackageReference Include =" Shouldly" Version =" 3.0.2" />
13
- <PackageReference Include =" xunit" Version =" 2.4.1" />
14
- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.1" />
10
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.13.0" />
11
+ <PackageReference Include =" Microsoft.OData.Edm" Version =" 8.2.3" />
12
+ <PackageReference Include =" Shouldly" Version =" 4.3.0" />
13
+ <PackageReference Include =" xunit" Version =" 2.9.3" />
14
+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 3.0.2" >
15
+ <PrivateAssets >all</PrivateAssets >
16
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
17
+ </PackageReference >
15
18
</ItemGroup >
16
19
17
20
<ItemGroup >
Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ public void Map_expression_should_throws_exception_when_mapping_for_property_is_
374
374
inner . ShouldNotBeNull ( ) ;
375
375
376
376
var error = inner . Errors . ShouldHaveSingleItem ( ) ;
377
- error . ShouldNotBeNull ( ) ;
377
+ error . ShouldNotBe ( default ) ;
378
378
379
379
error . TypeMap . ShouldNotBeNull ( ) ;
380
380
error . TypeMap . DestinationType . ShouldBe ( typeof ( Thing ) ) ;
You can’t perform that action at this time.
0 commit comments