Skip to content

Commit 2bd6cd2

Browse files
add relevant nowarn for 2 test projects
1 parent e9202b8 commit 2bd6cd2

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/SqlClient.SqlServerTypes.Tests/SqlClient.SqlServerTypes.Tests.fsproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
<PropertyGroup>
66
<TargetFramework>net461</TargetFramework>
77
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
8+
<!--
9+
disable error FS0044: This construct is deprecated. use 'FSharp.Data.SqlClient.Internals.ISqlCommand' instead
10+
for the time necessary of the transition, this enables more coverage of the type aliases working the way expected in client code
11+
-->
12+
<NoWarn>$(NoWarn);0044</NoWarn>
813
</PropertyGroup>
914
<ItemGroup>
1015
<None Include="App.config" />

tests/SqlClient.Tests/SqlClient.Tests.fsproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
99
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1010
<NoWarn>101</NoWarn>
11+
<!--
12+
disable error FS0044: This construct is deprecated. use 'FSharp.Data.SqlClient.Internals.ISqlCommand' instead
13+
for the time necessary of the transition, this enables more coverage of the type aliases working the way expected in client code
14+
-->
15+
<NoWarn>$(NoWarn);0044</NoWarn>
1116
</PropertyGroup>
1217
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
1318
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

0 commit comments

Comments
 (0)