You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.5 KiB

4 years ago
4 years ago
4 years ago
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <Import Project="..\Apewer\_Common.props" />
  3. <PropertyGroup>
  4. <DefineConstants>$(DefineConstants);SOURCE;</DefineConstants>
  5. <OutputType>Library</OutputType>
  6. <TargetFrameworks>netstandard2.0;net40;net20</TargetFrameworks>
  7. </PropertyGroup>
  8. <PropertyGroup>
  9. <AssemblyName>Apewer.Source</AssemblyName>
  10. <Description></Description>
  11. <PackageId>Apewer.Source</PackageId>
  12. <RootNamespace>Apewer</RootNamespace>
  13. <Title>Apewer.Source</Title>
  14. </PropertyGroup>
  15. <ItemGroup>
  16. <ProjectReference Include="..\Apewer\Apewer.csproj" />
  17. <PackageReference Include="System.Data.SQLite.Core" Version="1.0.110" />
  18. </ItemGroup>
  19. <!-- .NET Standard 2.0 -->
  20. <PropertyGroup>
  21. <DefineConstants Condition="'$(TargetFramework)'=='netstandard2.0'">$(DefineConstants);MYSQL_6_10;</DefineConstants>
  22. </PropertyGroup>
  23. <ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
  24. <PackageReference Include="System.Configuration.ConfigurationManager" Version="4.4.1" />
  25. <PackageReference Include="System.Data.SqlClient" Version="4.4.3" />
  26. <PackageReference Include="System.Security.Permissions" Version="4.4.1" />
  27. <PackageReference Include="System.Text.Encoding.CodePages" Version="4.4.0" />
  28. </ItemGroup>
  29. <!-- .NET Framework 4.0 -->
  30. <PropertyGroup>
  31. <DefineConstants Condition="'$(TargetFramework)'=='net40'">$(DefineConstants);MYSQL_6_9;</DefineConstants>
  32. </PropertyGroup>
  33. <ItemGroup Condition="'$(TargetFramework)'=='net40'">
  34. <Reference Include="CustomMarshalers" />
  35. <Reference Include="Microsoft.CSharp" />
  36. <Reference Include="PresentationCore" />
  37. <Reference Include="System.Core" />
  38. <Reference Include="System.Configuration" />
  39. <Reference Include="System.Design" />
  40. <Reference Include="System.Drawing" />
  41. <Reference Include="System.Management" />
  42. <Reference Include="System.Runtime.Caching" />
  43. <Reference Include="System.Security" />
  44. <Reference Include="System.Speech" />
  45. <Reference Include="System.Transactions" />
  46. <Reference Include="System.Web" />
  47. <Reference Include="System.Windows.Forms" />
  48. <Reference Include="WindowsBase" />
  49. </ItemGroup>
  50. <!-- .NET Framework 2.0 -->
  51. <ItemGroup Condition="'$(TargetFramework)'=='net20'">
  52. <Reference Include="CustomMarshalers" />
  53. <Reference Include="System.Configuration" />
  54. <Reference Include="System.Design" />
  55. <Reference Include="System.Management" />
  56. <Reference Include="System.Security" />
  57. <Reference Include="System.Transactions" />
  58. <Reference Include="System.Web" />
  59. <Reference Include="System.Windows.Forms" />
  60. </ItemGroup>
  61. </Project>