BackgroundTest.csproj 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  4. <PropertyGroup>
  5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  7. <ProjectGuid>{0C6D494A-036A-4CB6-AB07-61D8AC8C70CB}</ProjectGuid>
  8. <OutputType>Exe</OutputType>
  9. <RootNamespace>BackgroundTest</RootNamespace>
  10. <AssemblyName>Viewer_ComPDFKit</AssemblyName>
  11. <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
  12. <FileAlignment>512</FileAlignment>
  13. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  14. <Deterministic>true</Deterministic>
  15. <NuGetPackageImportStamp>
  16. </NuGetPackageImportStamp>
  17. <PublishUrl>publish\</PublishUrl>
  18. <Install>true</Install>
  19. <InstallFrom>Disk</InstallFrom>
  20. <UpdateEnabled>false</UpdateEnabled>
  21. <UpdateMode>Foreground</UpdateMode>
  22. <UpdateInterval>7</UpdateInterval>
  23. <UpdateIntervalUnits>Days</UpdateIntervalUnits>
  24. <UpdatePeriodically>false</UpdatePeriodically>
  25. <UpdateRequired>false</UpdateRequired>
  26. <MapFileExtensions>true</MapFileExtensions>
  27. <ApplicationRevision>0</ApplicationRevision>
  28. <ApplicationVersion>1.0.0.0</ApplicationVersion>
  29. <IsWebBootstrapper>false</IsWebBootstrapper>
  30. <UseApplicationTrust>false</UseApplicationTrust>
  31. <BootstrapperEnabled>true</BootstrapperEnabled>
  32. </PropertyGroup>
  33. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  34. <PlatformTarget>AnyCPU</PlatformTarget>
  35. <DebugSymbols>true</DebugSymbols>
  36. <DebugType>full</DebugType>
  37. <Optimize>false</Optimize>
  38. <OutputPath>bin\Debug\</OutputPath>
  39. <DefineConstants>DEBUG;TRACE</DefineConstants>
  40. <ErrorReport>prompt</ErrorReport>
  41. <WarningLevel>4</WarningLevel>
  42. </PropertyGroup>
  43. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  44. <PlatformTarget>AnyCPU</PlatformTarget>
  45. <DebugType>pdbonly</DebugType>
  46. <Optimize>true</Optimize>
  47. <OutputPath>bin\Release\</OutputPath>
  48. <DefineConstants>TRACE</DefineConstants>
  49. <ErrorReport>prompt</ErrorReport>
  50. <WarningLevel>4</WarningLevel>
  51. </PropertyGroup>
  52. <ItemGroup>
  53. <Reference Include="ComPDFKit.Desk, Version=1.9.0.0, Culture=neutral, processorArchitecture=MSIL">
  54. <HintPath>..\..\packages\ComPDFKit.NetFramework.1.9.0\lib\ComPDFKit.Desk.dll</HintPath>
  55. </Reference>
  56. <Reference Include="ComPDFKit.Viewer, Version=1.9.0.0, Culture=neutral, processorArchitecture=MSIL">
  57. <HintPath>..\..\packages\ComPDFKit.NetFramework.1.9.0\lib\ComPDFKit.Viewer.dll</HintPath>
  58. </Reference>
  59. <Reference Include="System" />
  60. <Reference Include="System.Core" />
  61. <Reference Include="System.Drawing" />
  62. <Reference Include="System.Xml.Linq" />
  63. <Reference Include="System.Data.DataSetExtensions" />
  64. <Reference Include="Microsoft.CSharp" />
  65. <Reference Include="System.Data" />
  66. <Reference Include="System.Net.Http" />
  67. <Reference Include="System.Xml" />
  68. </ItemGroup>
  69. <ItemGroup>
  70. <Compile Include="..\LicenseKey.cs">
  71. <Link>LicenseKey.cs</Link>
  72. </Compile>
  73. <Compile Include="BackgroundTest.cs" />
  74. <Compile Include="Properties\AssemblyInfo.cs" />
  75. </ItemGroup>
  76. <ItemGroup>
  77. <None Include="..\..\TestFile\ColorBackground.pdf">
  78. <Link>ColorBackground.pdf</Link>
  79. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  80. </None>
  81. <None Include="..\..\TestFile\ImageBackground.pdf">
  82. <Link>ImageBackground.pdf</Link>
  83. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  84. </None>
  85. <None Include="..\..\TestFile\CommonFivePage.pdf">
  86. <Link>CommonFivePage.pdf</Link>
  87. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  88. </None>
  89. <None Include="..\..\TestFile\logo.png">
  90. <Link>logo.png</Link>
  91. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  92. </None>
  93. <None Include="App.config" />
  94. <None Include="packages.config" />
  95. </ItemGroup>
  96. <ItemGroup>
  97. <None Include="..\..\license_key_windows.xml">
  98. <Link>license_key_windows.xml</Link>
  99. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  100. </None>
  101. </ItemGroup>
  102. <ItemGroup>
  103. <BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
  104. <Visible>False</Visible>
  105. <ProductName>Microsoft .NET Framework 4.6.1 %28x86 和 x64%29</ProductName>
  106. <Install>true</Install>
  107. </BootstrapperPackage>
  108. <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
  109. <Visible>False</Visible>
  110. <ProductName>.NET Framework 3.5 SP1</ProductName>
  111. <Install>false</Install>
  112. </BootstrapperPackage>
  113. </ItemGroup>
  114. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  115. <Import Project="..\..\packages\ComPDFKit.NetFramework.1.9.0\build\ComPDFKit.NetFramework.targets" Condition="Exists('..\..\packages\ComPDFKit.NetFramework.1.9.0\build\ComPDFKit.NetFramework.targets')" />
  116. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  117. <PropertyGroup>
  118. <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
  119. </PropertyGroup>
  120. <Error Condition="!Exists('..\..\packages\ComPDFKit.NetFramework.1.9.0\build\ComPDFKit.NetFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\ComPDFKit.NetFramework.1.9.0\build\ComPDFKit.NetFramework.targets'))" />
  121. </Target>
  122. </Project>