File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
benchmarks/Dapper.Tests.Performance Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
- #if NET4X
2
- #else
3
- using BenchmarkDotNet . Attributes ;
1
+ using BenchmarkDotNet . Attributes ;
4
2
using System . ComponentModel ;
5
3
using System . Linq ;
6
4
using Norm ;
@@ -39,4 +37,4 @@ public Post Read()
39
37
}
40
38
}
41
39
}
42
- #endif
40
+
Original file line number Diff line number Diff line change 48
48
<ItemGroup Condition =" '$(TargetFramework)' != 'net462'" >
49
49
<PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 5.0.0" />
50
50
</ItemGroup >
51
- <ItemGroup Condition =" '$(TargetFramework)' == 'netcoreapp3.1'" >
51
+ <ItemGroup Condition =" '$(TargetFramework)' == 'netcoreapp3.1' Or '$(TargetFramework)' == 'net5.0' " >
52
52
<PackageReference Include =" Norm.net" >
53
53
<Version >3.1.0</Version >
54
54
</PackageReference >
55
55
</ItemGroup >
56
+ <ItemGroup >
57
+ <Compile Remove =" Benchmarks.Norm.cs" Condition =" '$(TargetFramework)' != 'netcoreapp3.1' And '$(TargetFramework)' != 'net5.0'" />
58
+ </ItemGroup >
56
59
</Project >
You can’t perform that action at this time.
0 commit comments