forked from linq2db/linq2db
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Packages.props
138 lines (132 loc) · 9.63 KB
/
Directory.Packages.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<Project>
<!--
Known issues:
1. [MSBUILD only, works from VS] specifying default version in uncoditioned ItemGroup and override for specific
TFM in conditioned ItemGroup doesn't work.
Workaround: place both nuget versions in conditioned ItemGroup's
2. [MSBUILD only, works from VS] F# project fail to build with following error:
NU1008: Projects that use central package version management should not define the version on the PackageReference items but on the PackageVersion items: FSharp.Core;FSharp.Core;FSharp.Core;FSharp.Core
Solution: disable ManagePackageVersionsCentrally for this project
As both issues occur only in MSBUILD, it could be transitional issue fixed in future as feature is still not finalized
-->
<ItemGroup>
<!--as stated in issue 1 - packages in this item group shouldn't be duplicated in other groups-->
<!--generic code packages-->
<PackageVersion Include="Newtonsoft.Json" Version="13.0.1" />
<PackageVersion Include="System.Memory" Version="4.5.4" />
<PackageVersion Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
<PackageVersion Include="System.ValueTuple" Version="4.5.0" />
<PackageVersion Include="System.Collections.Immutable" Version="6.0.0" />
<PackageVersion Include="System.Data.DataSetExtensions" Version="4.5.0" />
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
<PackageVersion Include="FluentAssertions" Version="6.5.1" />
<!--data providers-->
<PackageVersion Include="MySql.Data" Version="8.0.28" />
<PackageVersion Include="AdoNetCore.AseClient" Version="0.19.2" />
<PackageVersion Include="System.Data.SqlClient" Version="4.8.3" />
<PackageVersion Include="Microsoft.Data.SqlClient" Version="4.1.0" />
<!--https://github.com/dotnet/sdk/issues/24033
<PackageVersion Include="System.Data.Odbc" Version="6.0.0" />-->
<PackageVersion Include="System.Data.OleDb" Version="6.0.0" />
<PackageVersion Include="Oracle.ManagedDataAccess" Version="21.5.0" />
<PackageVersion Include="FirebirdSql.Data.FirebirdClient" Version="8.5.4" />
<PackageVersion Include="System.Data.SQLite.Core" Version="1.0.115.5" />
<PackageVersion Include="IBM.Data.DB.Provider" Version="11.5.5010.4" />
<!--infrastructure/testing-->
<PackageVersion Include="MiniProfiler" Version="3.2.0.157" />
<PackageVersion Include="MiniProfiler.Shared" Version="4.2.22" />
<PackageVersion Include="NUnit" Version="3.13.2" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.2.1" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageVersion Include="FastExpressionCompiler" Version="3.2.2" />
<PackageVersion Include="BenchmarkDotNet" Version="0.13.1" />
<PackageVersion Include="JetBrains.Profiler.Api" Version="1.1.7" />
<PackageVersion Include="Humanizer.Core" Version="2.14.1" />
<PackageVersion Include="FSharp.Core" Version="6.0.3" />
<PackageVersion Include="Microsoft.AspNet.OData" Version="7.5.12" />
<PackageVersion Include="NodaTime" Version="3.0.9" />
<PackageVersion Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.3" />
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
<!--nuget doesn't have strong name, so we use local self-signed copy-->
<!--
<PackageVersion Include="dotMorten.Microsoft.SqlServer.Types" Version="1.5.0" />
<PackageVersion Include="dotMorten.Microsoft.SqlServer.Types" Version="2.5.0" />
-->
</ItemGroup>
<!--linq2db targets-->
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<!--downgrade-->
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="1.1.1" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="1.1.2" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'net45' ">
<!--main version-->
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="3.1.20" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
<!--
downgrade to make linq2db work with Azure Function v3:
https://github.com/linq2db/linq2db/issues/2868
https://github.com/Azure/azure-functions-host/issues/6893
-->
<PackageVersion Include="System.ComponentModel.Annotations" Version="4.7.0" />
<!--https://github.com/dotnet/sdk/issues/24033-->
<PackageVersion Include="System.Data.Odbc" Version="6.0.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'netcoreapp3.1' ">
<PackageVersion Include="System.ComponentModel.Annotations" Version="5.0.0" />
</ItemGroup>
<!--test targets-->
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
<!--used only for netfx, but adding it to main group produce conflicts-->
<PackageVersion Include="Microsoft.SqlServer.Types" Version="14.0.1016.290" />
<!--old versions of providers with netfx support-->
<PackageVersion Include="Microsoft.Data.Sqlite" Version="1.1.1" />
<PackageVersion Include="Npgsql" Version="4.1.10" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
<!--old versions of providers with netcoreapp2.1 support-->
<PackageVersion Include="Oracle.ManagedDataAccess.Core" Version="2.19.140" />
<PackageVersion Include="IBM.Data.DB2.Core" Version="2.2.0.100" />
<PackageVersion Include="IBM.Data.DB2.Core-lnx" Version="2.2.0.100" />
<PackageVersion Include="IBM.Data.DB2.Core-osx" Version="2.0.0.100" />
<PackageVersion Include="Npgsql" Version="5.0.12" />
<PackageVersion Include="Microsoft.Data.Sqlite" Version="5.0.14" />
<!--test v0.x compatibility, required for old Pomelo EF.Core provider-->
<PackageVersion Include="MySqlConnector" Version="0.69.10" />
<!--legacy odata library for netcoreapp2.1-->
<PackageVersion Include="Microsoft.AspNetCore.OData" Version="7.5.12" />
<!--https://docs.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/older-framework-versions-dropped-->
<PackageVersion Include="System.Data.Odbc" Version="5.0.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'netcoreapp2.1' ">
<!--main version-->
<PackageVersion Include="Oracle.ManagedDataAccess.Core" Version="3.21.50" />
<PackageVersion Include="IBM.Data.DB2.Core" Version="3.1.0.500" />
<PackageVersion Include="IBM.Data.DB2.Core-lnx" Version="3.1.0.500" />
<PackageVersion Include="IBM.Data.DB2.Core-osx" Version="3.1.0.500" />
<PackageVersion Include="Microsoft.AspNetCore.OData" Version="8.0.4" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
<!-- explicitly reference specific version of transient dependency to avoid MSB3277 -->
<PackageVersion Include="System.Security.Cryptography.Cng" Version="5.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0" />
<!--test v1.x compatibility, required for old Pomelo EF.Core provider-->
<PackageVersion Include="MySqlConnector" Version="1.3.14" />
<PackageVersion Include="Microsoft.Data.Sqlite" Version="5.0.14" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net5.0' OR '$(TargetFramework)' == 'net6.0' ">
<PackageVersion Include="Microsoft.Data.Sqlite" Version="6.0.2" />
<!--https://github.com/dotnet/sdk/issues/24033-->
<PackageVersion Include="System.Data.Odbc" Version="6.0.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'netcoreapp2.1' AND '$(TargetFramework)' != 'netcoreapp3.1' ">
<PackageVersion Include="MySqlConnector" Version="2.1.7" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'net472' AND '$(TargetFramework)' != 'netcoreapp2.1' ">
<PackageVersion Include="Npgsql" Version="6.0.3" />
</ItemGroup>
</Project>