|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">
|
2 | 2 |
|
3 |
| - <PropertyGroup> |
4 |
| - <!--<TargetFramework>netcoreapp2.0</TargetFramework>--> |
5 |
| - <!--<TargetFramework>net45</TargetFramework>--> |
6 |
| - <TargetFrameworks>netcoreapp2.0;net45</TargetFrameworks> |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFramework>netcoreapp3.1</TargetFramework> |
| 5 | + <!--<TargetFramework>net45</TargetFramework>--> |
| 6 | + <!--<TargetFrameworks>netcoreapp3.1;net45</TargetFrameworks>--> |
7 | 7 |
|
8 |
| - <AssemblyName>ChloeDemo</AssemblyName> |
9 |
| - <OutputType>Exe</OutputType> |
10 |
| - <PackageId>ChloeDemo</PackageId> |
11 |
| - <PackageTargetFallback>$(PackageTargetFallback);dnxcore50</PackageTargetFallback> |
12 |
| - <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> |
13 |
| - <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> |
14 |
| - <GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> |
15 |
| - </PropertyGroup> |
| 8 | + <AssemblyName>ChloeDemo</AssemblyName> |
| 9 | + <OutputType>Exe</OutputType> |
| 10 | + <PackageId>ChloeDemo</PackageId> |
| 11 | + <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> |
| 12 | + <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> |
| 13 | + <GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> |
| 14 | + </PropertyGroup> |
16 | 15 |
|
17 |
| - <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'"> |
18 |
| - <DefineConstants>netcore</DefineConstants> |
19 |
| - </PropertyGroup> |
20 |
| - <PropertyGroup Condition="'$(TargetFramework)' == 'net45'"> |
21 |
| - <DefineConstants>netfx</DefineConstants> |
22 |
| - </PropertyGroup> |
23 |
| - <ItemGroup> |
24 |
| - <PackageReference Include="System.Diagnostics.DiagnosticSource" Version="5.0.1" /> |
25 |
| - </ItemGroup> |
| 16 | + <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'"> |
| 17 | + <DefineConstants>netcore</DefineConstants> |
| 18 | + </PropertyGroup> |
| 19 | + <PropertyGroup Condition="'$(TargetFramework)' == 'net45'"> |
| 20 | + <DefineConstants>netfx</DefineConstants> |
| 21 | + </PropertyGroup> |
| 22 | + <ItemGroup> |
| 23 | + <PackageReference Include="System.Diagnostics.DiagnosticSource" Version="5.0.1" /> |
| 24 | + </ItemGroup> |
26 | 25 |
|
27 |
| - <ItemGroup> |
28 |
| - <ProjectReference Include="..\Chloe.Extension\Chloe.Extension.csproj" /> |
29 |
| - <ProjectReference Include="..\Chloe.Oracle\Chloe.Oracle.csproj" /> |
30 |
| - <ProjectReference Include="..\Chloe\Chloe.csproj" /> |
31 |
| - <ProjectReference Include="..\Chloe.MySql\Chloe.MySql.csproj" /> |
32 |
| - <ProjectReference Include="..\Chloe.SQLite\Chloe.SQLite.csproj" /> |
33 |
| - <ProjectReference Include="..\Chloe.SqlServer\Chloe.SqlServer.csproj" /> |
34 |
| - <ProjectReference Include="..\Chloe.PostgreSQL\Chloe.PostgreSQL.csproj" /> |
35 |
| - </ItemGroup> |
| 26 | + <ItemGroup> |
| 27 | + <ProjectReference Include="..\Chloe.Extension\Chloe.Extension.csproj" /> |
| 28 | + <ProjectReference Include="..\Chloe.Oracle\Chloe.Oracle.csproj" /> |
| 29 | + <ProjectReference Include="..\Chloe\Chloe.csproj" /> |
| 30 | + <ProjectReference Include="..\Chloe.MySql\Chloe.MySql.csproj" /> |
| 31 | + <ProjectReference Include="..\Chloe.SQLite\Chloe.SQLite.csproj" /> |
| 32 | + <ProjectReference Include="..\Chloe.SqlServer\Chloe.SqlServer.csproj" /> |
| 33 | + <ProjectReference Include="..\Chloe.PostgreSQL\Chloe.PostgreSQL.csproj" /> |
| 34 | + </ItemGroup> |
36 | 35 |
|
37 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |
38 |
| - <PlatformTarget>AnyCPU</PlatformTarget> |
39 |
| - </PropertyGroup> |
| 36 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |
| 37 | + <PlatformTarget>AnyCPU</PlatformTarget> |
| 38 | + </PropertyGroup> |
40 | 39 |
|
41 |
| - <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp2.0|AnyCPU'"> |
42 |
| - <DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile> |
43 |
| - </PropertyGroup> |
| 40 | + <PropertyGroup> |
| 41 | + <DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile> |
| 42 | + </PropertyGroup> |
44 | 43 |
|
45 |
| - <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'"> |
46 |
| - <PackageReference Include="Microsoft.Data.Sqlite" Version="1.0.1" /> |
47 |
| - <PackageReference Include="MySql.Data" Version="8.0.15" /> |
48 |
| - <!--<PackageReference Include="MySqlConnector" Version="0.63.2" />--> |
49 |
| - <PackageReference Include="Oracle.ManagedDataAccess.Core" Version="2.12.0-beta2" /> |
50 |
| - <PackageReference Include="Npgsql" Version="4.0.0" /> |
51 |
| - </ItemGroup> |
| 44 | + <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'"> |
| 45 | + <PackageReference Include="Microsoft.Data.Sqlite" Version="1.0.1" /> |
| 46 | + <PackageReference Include="MySql.Data" Version="8.0.15" /> |
| 47 | + <!--<PackageReference Include="MySql.Data" Version="8.0.27" />--> |
| 48 | + <!--<PackageReference Include="MySqlConnector" Version="0.63.2" />--> |
| 49 | + <PackageReference Include="Oracle.ManagedDataAccess.Core" Version="2.12.0-beta2" /> |
| 50 | + <PackageReference Include="Npgsql" Version="4.0.0" /> |
| 51 | + </ItemGroup> |
52 | 52 |
|
53 |
| - <ItemGroup Condition="'$(TargetFramework)' == 'net45'"> |
54 |
| - <PackageReference Include="Npgsql" Version="4.0.0" /> |
55 |
| - <Reference Include="MySql.Data"> |
56 |
| - <HintPath>..\lib\MySql.Data.dll</HintPath> |
57 |
| - </Reference> |
58 |
| - <Reference Include="Oracle.ManagedDataAccess"> |
59 |
| - <HintPath>..\lib\Oracle.ManagedDataAccess.dll</HintPath> |
60 |
| - </Reference> |
61 |
| - <Reference Include="System.Data.SQLite"> |
62 |
| - <HintPath>..\lib\System.Data.SQLite.dll</HintPath> |
63 |
| - </Reference> |
| 53 | + <ItemGroup Condition="'$(TargetFramework)' == 'net45'"> |
| 54 | + <PackageReference Include="Npgsql" Version="4.0.0" /> |
| 55 | + <Reference Include="MySql.Data"> |
| 56 | + <HintPath>..\lib\MySql.Data.dll</HintPath> |
| 57 | + </Reference> |
| 58 | + <Reference Include="Oracle.ManagedDataAccess"> |
| 59 | + <HintPath>..\lib\Oracle.ManagedDataAccess.dll</HintPath> |
| 60 | + </Reference> |
| 61 | + <Reference Include="System.Data.SQLite"> |
| 62 | + <HintPath>..\lib\System.Data.SQLite.dll</HintPath> |
| 63 | + </Reference> |
64 | 64 |
|
65 |
| - <Content Include="x64\SQLite.Interop.dll"> |
66 |
| - <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
67 |
| - </Content> |
68 |
| - <Content Include="x86\SQLite.Interop.dll"> |
69 |
| - <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
70 |
| - </Content> |
71 |
| - </ItemGroup> |
| 65 | + <Content Include="x64\SQLite.Interop.dll"> |
| 66 | + <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
| 67 | + </Content> |
| 68 | + <Content Include="x86\SQLite.Interop.dll"> |
| 69 | + <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
| 70 | + </Content> |
| 71 | + </ItemGroup> |
72 | 72 |
|
73 | 73 | </Project>
|
0 commit comments