forked from linq2db/linq2db
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Packages.props
141 lines (128 loc) · 10.1 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
139
140
141
<Project>
<!--
Known issues:
When multiple versions of same nuget references, don't put it to unconditional ItemGroup
as while it works fine in Visual Studio in general there are still issues with tooling (dotnet publish, testing)
IMPORTANT:
avoid use of different package versions in tests for different frameworks just for testing purposes if package referenced by source project
as it will result in old package consumed by released package and affect users (especially for projects where user has no control
over dependencies like linq2db.cli
-->
<ItemGroup>
<!--as stated in issue 1 - packages in this item group shouldn't be duplicated in other groups-->
<!--generic packages for source projects-->
<PackageVersion Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" />
<PackageVersion Include="System.Data.DataSetExtensions" Version="4.5.0" />
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" />
<PackageVersion Include="System.ComponentModel.Annotations" Version="5.0.0" />
<!--Source of NullabilityInfoContext for runtimes before .net 6-->
<PackageVersion Include="Nullability.Source" Version="2.3.0" />
<PackageVersion Include="PolySharp" Version="1.13.2" />
<!--build support-->
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0-preview.23364.2" />
<PackageVersion Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.11.0-beta1.23420.2" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
<PackageVersion Include="Mono.TextTemplating" Version="2.3.1" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.7.0" />
<!--data providers-->
<PackageVersion Include="AdoNetCore.AseClient" Version="0.19.2" />
<PackageVersion Include="System.Data.SqlClient" Version="4.8.5" />
<PackageVersion Include="Microsoft.Data.SqlClient" Version="5.1.1" />
<PackageVersion Include="Oracle.ManagedDataAccess" Version="21.11.0" />
<!--3.21 provider currently contains bug which leads to test failures with oracle 12+-->
<PackageVersion Include="Oracle.ManagedDataAccess.Core" Version="2.19.200" />
<!--<PackageVersion Include="Oracle.ManagedDataAccess.Core" Version="3.21.100" />-->
<PackageVersion Include="Devart.Data.Oracle" Version="10.1.151" />
<PackageVersion Include="FirebirdSql.Data.FirebirdClient" Version="9.1.1" />
<PackageVersion Include="System.Data.SQLite.Core" Version="1.0.118" />
<PackageVersion Include="IBM.Data.DB.Provider" Version="11.5.5010.4" />
<PackageVersion Include="IBM.Data.DB2.Core" Version="3.1.0.600" />
<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="Net.IBM.Data.Db2" Version="7.0.0.200" />
<PackageVersion Include="Net.IBM.Data.Db2-lnx" Version="7.0.0.200" />
<PackageVersion Include="Net.IBM.Data.Db2-osx" Version="7.0.0.200" />
<PackageVersion Include="Octonica.ClickHouseClient" Version="2.2.9" />
<PackageVersion Include="ClickHouse.Client" Version="6.7.5" />
<PackageVersion Include="Microsoft.Data.Sqlite" Version="7.0.11" />
<PackageVersion Include="Microsoft.SqlServer.Types" Version="160.1000.6" />
<PackageVersion Include="MySqlConnector" Version="2.2.7" />
<!--tests support-->
<PackageVersion Include="NUnit" Version="3.13.3" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
<PackageVersion Include="BenchmarkDotNet" Version="0.13.9" />
<PackageVersion Include="JetBrains.Profiler.Api" Version="1.1.8" />
<PackageVersion Include="FSharp.Core" Version="7.0.400" />
<!--packages for test projects-->
<PackageVersion Include="System.Collections.Immutable" Version="7.0.0" />
<PackageVersion Include="MiniProfiler.Shared" Version="4.3.8" />
<PackageVersion Include="MiniProfiler.Minimal" Version="4.3.8" />
<PackageVersion Include="Microsoft.AspNet.OData" Version="7.7.1" />
<PackageVersion Include="Microsoft.AspNetCore.OData" Version="8.2.3" />
<PackageVersion Include="NodaTime" Version="3.1.9" />
<PackageVersion Include="Humanizer.Core" Version="2.14.1" />
<PackageVersion Include="System.Linq.Dynamic.Core" Version="1.3.5" />
<PackageVersion Include="dotMorten.Microsoft.SqlServer.Types" Version="1.5.0" />
<!--
<PackageVersion Include="dotMorten.Microsoft.SqlServer.Types" Version="2.5.0" />
-->
<!--remote targets + remote examples targets-->
<!--source-->
<PackageVersion Include="Grpc.Net.Client" Version="2.57.0" />
<!--examples-->
<PackageVersion Include="linq2db.t4models" Version="4.3.0" />
<!--tests-->
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="7.0.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
<!--linq2db source-->
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' OR '$(TargetFramework)' == 'net46' ">
<!--downgrade-->
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="1.1.1" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="1.1.2" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
<!--v7+ dropped support of netcoreapp3.1 and ns2.0 build is useless as it throws PNSE ¯\_(ツ)_/¯ -->
<PackageVersion Include="System.Data.Odbc" Version="6.0.1" />
<PackageVersion Include="System.Data.OleDb" Version="6.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyModel" Version="6.0.0" />
<PackageVersion Include="System.Text.Json" Version="6.0.8" />
<PackageVersion Include="protobuf-net.Grpc" Version="1.0.179" />
<PackageVersion Include="protobuf-net.Grpc.AspNetCore" Version="1.0.179" />
<PackageVersion Include="MySql.Data" Version="8.0.32.1" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'net45' AND '$(TargetFramework)' != 'net46' ">
<!--main version-->
<!--
pin abstractions packages to lowest supported runtime (.net 6 currently)
https://github.com/linq2db/linq2db/issues/3953
-->
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="6.0.1" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.4" />
</ItemGroup>
<!--test dependencies-->
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
<PackageVersion Include="System.Text.Json" Version="7.0.3" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' OR '$(TargetFramework)' == 'net7.0' ">
<PackageVersion Include="System.Data.Odbc" Version="7.0.0" />
<PackageVersion Include="System.Data.OleDb" Version="7.0.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyModel" Version="7.0.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
<PackageVersion Include="Npgsql" Version="8.0.0-rc.2" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'net7.0' ">
<PackageVersion Include="Npgsql" Version="7.0.6" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'net472' AND '$(TargetFramework)' != 'netcoreapp3.1' ">
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' != 'netcoreapp3.1' ">
<PackageVersion Include="protobuf-net.Grpc" Version="1.1.1" />
<PackageVersion Include="protobuf-net.Grpc.AspNetCore" Version="1.1.1" />
<PackageVersion Include="MySql.Data" Version="8.1.0" />
</ItemGroup>
</Project>