Skip to content

Commit

Permalink
enable OLE DB for netstandard 2.0
Browse files Browse the repository at this point in the history
remove package from Data project
#39
  • Loading branch information
tsahi committed Dec 19, 2020
1 parent 7a0dcaa commit b0cfa87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions source/Src/Data.OleDb/Data.OleDb.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\..\package.props" />

<PropertyGroup>
<TargetFrameworks>net45;net46;net47;netcoreapp3.0</TargetFrameworks>
<TargetFrameworks>net45;net46;net47;netcoreapp3.0;netstandard2.0</TargetFrameworks>

<AssemblyName>$(PreAssemblyName).Data.OleDb</AssemblyName>
<RootNamespace>$(PreAssemblyName).Data.OleDb</RootNamespace>
Expand Down Expand Up @@ -36,7 +36,7 @@
</None>
</ItemGroup>

<ItemGroup Condition="('$(TargetFramework)' == 'netcoreapp3.0')">
<ItemGroup Condition="('$(TargetFramework)' == 'netcoreapp3.0') OR ('$(TargetFramework)' == 'netstandard2.0')">
<PackageReference Include="System.Data.OleDb" Version="4.6.0" />
</ItemGroup>

Expand Down
4 changes: 0 additions & 4 deletions source/Src/Data/Data.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@
<Reference Include="System.Configuration" />
</ItemGroup>

<ItemGroup Condition="('$(TargetFramework)' == 'netcoreapp3.0')">
<PackageReference Include="System.Data.OleDb" Version="4.6.0-preview6.19303.8" />
</ItemGroup>

<ItemGroup>
<Compile Include="..\..\GlobalAssemblyInfo.cs">
<Link>GlobalAssemblyInfo.cs</Link>
Expand Down

0 comments on commit b0cfa87

Please sign in to comment.