<Project Sdk="Microsoft.NET.Sdk"> <Import Project="..\Apewer\_Common.props" /> <PropertyGroup> <DefineConstants>$(DefineConstants);SOURCE;</DefineConstants> <OutputType>Library</OutputType> <TargetFrameworks>netstandard2.0;net40;net20</TargetFrameworks> </PropertyGroup> <PropertyGroup> <AssemblyName>Apewer.Source</AssemblyName> <Description></Description> <PackageId>Apewer.Source</PackageId> <RootNamespace>Apewer</RootNamespace> <Title>Apewer.Source</Title> </PropertyGroup> <ItemGroup> <ProjectReference Include="..\Apewer\Apewer.csproj" /> <PackageReference Include="System.Data.SQLite.Core" Version="1.0.110" /> </ItemGroup> <!-- .NET Standard 2.0 --> <PropertyGroup> <DefineConstants Condition="'$(TargetFramework)'=='netstandard2.0'">$(DefineConstants);MYSQL_6_10;</DefineConstants> </PropertyGroup> <ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'"> <PackageReference Include="System.Configuration.ConfigurationManager" Version="4.4.1" /> <PackageReference Include="System.Data.SqlClient" Version="4.4.3" /> <PackageReference Include="System.Security.Permissions" Version="4.4.1" /> <PackageReference Include="System.Text.Encoding.CodePages" Version="4.4.0" /> </ItemGroup> <!-- .NET Framework 4.0 --> <PropertyGroup> <DefineConstants Condition="'$(TargetFramework)'=='net40'">$(DefineConstants);MYSQL_6_9;</DefineConstants> </PropertyGroup> <ItemGroup Condition="'$(TargetFramework)'=='net40'"> <Reference Include="CustomMarshalers" /> <Reference Include="Microsoft.CSharp" /> <Reference Include="PresentationCore" /> <Reference Include="System.Core" /> <Reference Include="System.Configuration" /> <Reference Include="System.Design" /> <Reference Include="System.Drawing" /> <Reference Include="System.Management" /> <Reference Include="System.Runtime.Caching" /> <Reference Include="System.Security" /> <Reference Include="System.Speech" /> <Reference Include="System.Transactions" /> <Reference Include="System.Web" /> <Reference Include="System.Windows.Forms" /> <Reference Include="WindowsBase" /> </ItemGroup> <!-- .NET Framework 2.0 --> <ItemGroup Condition="'$(TargetFramework)'=='net20'"> <Reference Include="CustomMarshalers" /> <Reference Include="System.Configuration" /> <Reference Include="System.Design" /> <Reference Include="System.Management" /> <Reference Include="System.Security" /> <Reference Include="System.Transactions" /> <Reference Include="System.Web" /> <Reference Include="System.Windows.Forms" /> </ItemGroup> </Project>