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.

78 lines
3.3 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <Import Project="..\Apewer\Apewer.props" />
  3. <PropertyGroup>
  4. <NoWarn>CS0108;CS0612</NoWarn>
  5. <TargetFrameworks>net461;net40;net20;netcoreapp3.1</TargetFrameworks>
  6. </PropertyGroup>
  7. <ItemGroup>
  8. <ProjectReference Include="..\Apewer\Apewer.csproj" />
  9. </ItemGroup>
  10. <!-- .NET Core 3.1 -->
  11. <PropertyGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'">
  12. <!-- <UseWPF>true</UseWPF> -->
  13. <!-- <UseWindowsForms>true</UseWindowsForms> -->
  14. </PropertyGroup>
  15. <ItemGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'">
  16. <!-- <FrameworkReference Include="Microsoft.AspNetCore.App" /> -->
  17. <FrameworkReference Include="Microsoft.WindowsDesktop.App" />
  18. <!--<PackageReference Include="System.ServiceProcess.ServiceController" Version="4.4.0" />-->
  19. <PackageReference Include="System.ServiceProcess.ServiceController" Version="6.0.0" />
  20. </ItemGroup>
  21. <!-- .NET Framework 4.6.1 -->
  22. <ItemGroup Condition="'$(TargetFramework)'=='net461'">
  23. <Reference Include="CustomMarshalers" />
  24. <Reference Include="Microsoft.CSharp" />
  25. <Reference Include="PresentationCore" />
  26. <Reference Include="System.Core" />
  27. <Reference Include="System.Configuration" />
  28. <Reference Include="System.Design" />
  29. <Reference Include="System.Drawing" />
  30. <Reference Include="System.Management" />
  31. <Reference Include="System.Runtime.Caching" />
  32. <Reference Include="System.Security" />
  33. <Reference Include="System.ServiceProcess " />
  34. <Reference Include="System.Speech" />
  35. <Reference Include="System.Transactions" />
  36. <Reference Include="System.Web" />
  37. <Reference Include="System.Windows.Forms" />
  38. <Reference Include="WindowsBase" />
  39. </ItemGroup>
  40. <!-- .NET Framework 4.0 -->
  41. <ItemGroup Condition="'$(TargetFramework)'=='net40'">
  42. <Reference Include="CustomMarshalers" />
  43. <Reference Include="Microsoft.CSharp" />
  44. <Reference Include="PresentationCore" />
  45. <Reference Include="System.Core" />
  46. <Reference Include="System.Configuration" />
  47. <Reference Include="System.Design" />
  48. <Reference Include="System.Drawing" />
  49. <Reference Include="System.Management" />
  50. <Reference Include="System.Runtime.Caching" />
  51. <Reference Include="System.Security" />
  52. <Reference Include="System.ServiceProcess " />
  53. <Reference Include="System.Speech" />
  54. <Reference Include="System.Transactions" />
  55. <Reference Include="System.Web" />
  56. <Reference Include="System.Windows.Forms" />
  57. <Reference Include="WindowsBase" />
  58. </ItemGroup>
  59. <!-- .NET Framework 2.0 -->
  60. <ItemGroup Condition="'$(TargetFramework)'=='net20'">
  61. <Reference Include="CustomMarshalers" />
  62. <Reference Include="System.Configuration" />
  63. <Reference Include="System.Design" />
  64. <Reference Include="System.Management" />
  65. <Reference Include="System.Security" />
  66. <Reference Include="System.ServiceProcess " />
  67. <Reference Include="System.Transactions" />
  68. <Reference Include="System.Web" />
  69. <Reference Include="System.Windows.Forms" />
  70. </ItemGroup>
  71. </Project>