修改项目文件支持netstandart2.0和EFCORE3.1

This commit is contained in:
falcon 2019-12-13 11:20:53 +08:00
parent a232e57413
commit c8c2e43e7a

View File

@ -12,11 +12,20 @@
<Description>EF Core 存储过程执行组件,可以模型化执行存储过程</Description> <Description>EF Core 存储过程执行组件,可以模型化执行存储过程</Description>
<Authors>Falcon</Authors> <Authors>Falcon</Authors>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.Data.SqlClient" Version="1.1.0" /> <PackageReference Include="Microsoft.Data.SqlClient" Version="1.1.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.6" /> <PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.2.6" /> <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.2.6" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.0" />
</ItemGroup>
</Project> </Project>