Skip to content

Commit b0d1251

Browse files
committed
Keep Microsoft.Data.SqlClient v5.0.0 for net5
v5.1.0 requires System.Configuration.ConfigurationManager of version 6.0.1 and newer
1 parent e690033 commit b0d1251

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Orm/Xtensive.Orm.SqlServer/Xtensive.Orm.SqlServer.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@
1515
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1616
<WarningLevel>2</WarningLevel>
1717
</PropertyGroup>
18-
<ItemGroup>
18+
<ItemGroup Condition="'$(TargetFramework)'=='net5.0'">
19+
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.0.0" />
20+
</ItemGroup>
21+
<ItemGroup Condition="'$(TargetFramework)'=='net6.0'">
1922
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.1.0" />
2023
</ItemGroup>
21-
2224
<ItemGroup>
2325
<ProjectReference Include="..\Xtensive.Orm\Xtensive.Orm.csproj" />
2426
</ItemGroup>

0 commit comments

Comments
 (0)