File tree Expand file tree Collapse file tree 3 files changed +14
-11
lines changed
src/AutoMapper.Extensions.ExpressionMapping
tests/AutoMapper.Extensions.ExpressionMapping.UnitTests Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <Summary >Expression mapping (OData) extensions for AutoMapper</Summary >
55 <Description >Expression mapping (OData) extensions for AutoMapper</Description >
6- <TargetFramework >net6 .0</TargetFramework >
6+ <TargetFramework >net8 .0</TargetFramework >
77 <GenerateDocumentationFile >true</GenerateDocumentationFile >
88 <AssemblyOriginatorKeyFile >..\..\AutoMapper.snk</AssemblyOriginatorKeyFile >
99 <SignAssembly >true</SignAssembly >
2828 </ItemGroup >
2929
3030 <ItemGroup >
31- <PackageReference Include =" AutoMapper" Version =" [13 .0.0,14 .0.0)" />
32- <PackageReference Include =" MinVer" Version =" 2.3 .0" >
31+ <PackageReference Include =" AutoMapper" Version =" [14 .0.0,15 .0.0)" />
32+ <PackageReference Include =" MinVer" Version =" 6.0 .0" >
3333 <PrivateAssets >all</PrivateAssets >
3434 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
3535 </PackageReference >
36- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1 .0.0" PrivateAssets =" All" />
36+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8 .0.0" PrivateAssets =" All" />
3737 </ItemGroup >
3838
3939 <ItemGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net6 .0</TargetFramework >
4+ <TargetFramework >net8 .0</TargetFramework >
55
66 <IsPackable >false</IsPackable >
77 </PropertyGroup >
88
99 <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 >
1518 </ItemGroup >
1619
1720 <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_
374374 inner . ShouldNotBeNull ( ) ;
375375
376376 var error = inner . Errors . ShouldHaveSingleItem ( ) ;
377- error . ShouldNotBeNull ( ) ;
377+ error . ShouldNotBe ( default ) ;
378378
379379 error . TypeMap . ShouldNotBeNull ( ) ;
380380 error . TypeMap . DestinationType . ShouldBe ( typeof ( Thing ) ) ;
You can’t perform that action at this time.
0 commit comments