Skip to content

Commit 20bacb0

Browse files
committed
Update Conditions for all .NetCore
1 parent 2c95099 commit 20bacb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<Compile Include="Microsoft.Data.SqlClient.cs" />
1717
<Compile Include="Microsoft.Data.SqlClient.Manual.cs" />
1818
</ItemGroup>
19-
<ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
19+
<ItemGroup Condition="'$([MSBuild]::GetTargetFrameworkIdentifier($(TargetFramework)))'=='.NETCoreApp'">
2020
<Compile Include="..\..\ref\Microsoft.Data.SqlClient.Batch.cs" />
2121
<Compile Include="..\..\ref\Microsoft.Data.SqlClient.Batch.NetCoreApp.cs" />
2222
</ItemGroup>

0 commit comments

Comments
 (0)