2022-09-28 13:12:08 +08:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
2021-01-26 10:18:49 +08:00
|
|
|
|
<PropertyGroup>
|
2022-09-28 13:12:08 +08:00
|
|
|
|
<TargetFrameworks>netcoreapp2;netcoreapp3;net5;net6</TargetFrameworks>
|
2022-09-28 13:43:04 +08:00
|
|
|
|
<Version>$(EFCORE)</Version>
|
2022-02-18 09:02:31 +08:00
|
|
|
|
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
2022-09-28 13:12:08 +08:00
|
|
|
|
<DefineConstants>TRACE;DEBUG;</DefineConstants>
|
2022-01-24 16:12:20 +08:00
|
|
|
|
<LangVersion>latest</LangVersion>
|
2022-03-04 15:35:30 +08:00
|
|
|
|
<RepositoryUrl>https://github.com/dotnetcore/sharding-core</RepositoryUrl>
|
2021-12-06 23:46:13 +08:00
|
|
|
|
<PackageIcon>logo.png</PackageIcon>
|
2021-01-26 10:18:49 +08:00
|
|
|
|
</PropertyGroup>
|
2022-09-28 13:12:08 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU' and '$(TargetFramework)' == 'netcoreapp2'">
|
|
|
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
|
|
|
<DocumentationFile>bin\Release\ShardingCore.2x.xml</DocumentationFile>
|
2021-11-29 17:36:41 +08:00
|
|
|
|
<LangVersion>latest</LangVersion>
|
|
|
|
|
</PropertyGroup>
|
2022-09-28 13:12:08 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU' and '$(TargetFramework)' == 'netcoreapp3'">
|
|
|
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
|
|
|
<DocumentationFile>bin\Release\ShardingCore.3x.xml</DocumentationFile>
|
|
|
|
|
<LangVersion>latest</LangVersion>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU' and '$(TargetFramework)' == 'net5'">
|
|
|
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
|
|
|
<DocumentationFile>bin\Release\ShardingCore.5x.xml</DocumentationFile>
|
|
|
|
|
<LangVersion>latest</LangVersion>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU' and '$(TargetFramework)' == 'net6'">
|
|
|
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
|
|
|
<DocumentationFile>bin\Release\ShardingCore.6x.xml</DocumentationFile>
|
|
|
|
|
<LangVersion>latest</LangVersion>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
2021-11-29 17:36:41 +08:00
|
|
|
|
<LangVersion>latest</LangVersion>
|
2021-01-26 10:18:49 +08:00
|
|
|
|
</PropertyGroup>
|
2022-09-28 13:43:04 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp2|AnyCPU'">
|
|
|
|
|
<NoWarn>1701;1702;1591;</NoWarn>
|
2022-09-28 13:12:08 +08:00
|
|
|
|
</PropertyGroup>
|
2022-09-28 13:43:04 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp2|AnyCPU'">
|
|
|
|
|
<NoWarn>1701;1702;1591;</NoWarn>
|
2022-09-28 13:12:08 +08:00
|
|
|
|
</PropertyGroup>
|
2022-09-28 13:43:04 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp3|AnyCPU'">
|
|
|
|
|
<NoWarn>1701;1702;1591;</NoWarn>
|
2022-09-28 13:12:08 +08:00
|
|
|
|
</PropertyGroup>
|
2022-09-28 13:43:04 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp3|AnyCPU'">
|
|
|
|
|
<NoWarn>1701;1702;1591;</NoWarn>
|
2022-09-28 13:12:08 +08:00
|
|
|
|
</PropertyGroup>
|
2022-09-28 13:43:04 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net5|AnyCPU'">
|
|
|
|
|
<NoWarn>1701;1702;1591;</NoWarn>
|
2022-09-28 13:12:08 +08:00
|
|
|
|
</PropertyGroup>
|
2022-09-28 13:43:04 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net5|AnyCPU'">
|
|
|
|
|
<NoWarn>1701;1702;1591;</NoWarn>
|
2022-09-28 13:12:08 +08:00
|
|
|
|
</PropertyGroup>
|
2022-09-28 13:43:04 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6|AnyCPU'">
|
|
|
|
|
<NoWarn>1701;1702;1591;</NoWarn>
|
2022-09-28 13:12:08 +08:00
|
|
|
|
</PropertyGroup>
|
2022-09-28 13:43:04 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6|AnyCPU'">
|
|
|
|
|
<NoWarn>1701;1702;1591;</NoWarn>
|
2022-09-28 13:12:08 +08:00
|
|
|
|
</PropertyGroup>
|
2022-03-04 15:35:30 +08:00
|
|
|
|
<ItemGroup>
|
2022-06-01 09:50:43 +08:00
|
|
|
|
<Compile Remove="Core\VirtualRoutes\RouteConditions\**" />
|
2022-03-04 15:35:30 +08:00
|
|
|
|
<Compile Remove="Sharding\Abstractions\MergeParseContexts\**" />
|
2022-06-01 09:50:43 +08:00
|
|
|
|
<EmbeddedResource Remove="Core\VirtualRoutes\RouteConditions\**" />
|
2022-03-04 15:35:30 +08:00
|
|
|
|
<EmbeddedResource Remove="Sharding\Abstractions\MergeParseContexts\**" />
|
2022-06-01 09:50:43 +08:00
|
|
|
|
<None Remove="Core\VirtualRoutes\RouteConditions\**" />
|
2022-03-04 15:35:30 +08:00
|
|
|
|
<None Remove="Sharding\Abstractions\MergeParseContexts\**" />
|
|
|
|
|
</ItemGroup>
|
2021-12-06 23:46:13 +08:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Include="..\..\Logo\logo.png">
|
|
|
|
|
<Pack>True</Pack>
|
|
|
|
|
<PackagePath>\</PackagePath>
|
|
|
|
|
</None>
|
|
|
|
|
</ItemGroup>
|
2022-09-28 13:12:08 +08:00
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2'">
|
|
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.*" />
|
|
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="2.2.*" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3'">
|
|
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.*" />
|
|
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.*" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net5'">
|
|
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.*" />
|
|
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="5.0.*" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net6'">
|
|
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.*" />
|
|
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="6.0.*" />
|
|
|
|
|
</ItemGroup>
|
2022-03-01 22:50:59 +08:00
|
|
|
|
<ItemGroup>
|
2022-03-02 22:22:35 +08:00
|
|
|
|
<Folder Include="Sharding\Visitors\GroupBys" />
|
2022-03-01 22:50:59 +08:00
|
|
|
|
</ItemGroup>
|
2021-01-26 10:18:49 +08:00
|
|
|
|
</Project>
|