BackgroundTest.csproj 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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.1.0, Culture=neutral, processorArchitecture=MSIL">
  54. <HintPath>..\..\packages\ComPDFKit.NetFramework.1.9.1\lib\ComPDFKit.Desk.dll</HintPath>
  55. </Reference>
  56. <Reference Include="ComPDFKit.Viewer, Version=1.9.1.0, Culture=neutral, processorArchitecture=MSIL">
  57. <HintPath>..\..\packages\ComPDFKit.NetFramework.1.9.1\lib\ComPDFKit.Viewer.dll</HintPath>
  58. </Reference>
  59. <Reference Include="PresentationFramework.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
  60. <HintPath>..\..\packages\PresentationFramework.Aero2.1.0.1\lib\PresentationFramework.Aero2.dll</HintPath>
  61. </Reference>
  62. <Reference Include="System" />
  63. <Reference Include="System.Core" />
  64. <Reference Include="System.Drawing" />
  65. <Reference Include="System.Xml.Linq" />
  66. <Reference Include="System.Data.DataSetExtensions" />
  67. <Reference Include="Microsoft.CSharp" />
  68. <Reference Include="System.Data" />
  69. <Reference Include="System.Net.Http" />
  70. <Reference Include="System.Xml" />
  71. </ItemGroup>
  72. <ItemGroup>
  73. <Compile Include="..\LicenseKey.cs">
  74. <Link>LicenseKey.cs</Link>
  75. </Compile>
  76. <Compile Include="BackgroundTest.cs" />
  77. <Compile Include="Properties\AssemblyInfo.cs" />
  78. </ItemGroup>
  79. <ItemGroup>
  80. <None Include="..\..\TestFile\ColorBackground.pdf">
  81. <Link>ColorBackground.pdf</Link>
  82. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  83. </None>
  84. <None Include="..\..\TestFile\ImageBackground.pdf">
  85. <Link>ImageBackground.pdf</Link>
  86. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  87. </None>
  88. <None Include="..\..\TestFile\CommonFivePage.pdf">
  89. <Link>CommonFivePage.pdf</Link>
  90. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  91. </None>
  92. <None Include="..\..\TestFile\logo.png">
  93. <Link>logo.png</Link>
  94. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  95. </None>
  96. <None Include="App.config" />
  97. <None Include="packages.config" />
  98. </ItemGroup>
  99. <ItemGroup>
  100. <None Include="..\..\license_key_windows.xml">
  101. <Link>license_key_windows.xml</Link>
  102. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  103. </None>
  104. </ItemGroup>
  105. <ItemGroup>
  106. <BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
  107. <Visible>False</Visible>
  108. <ProductName>Microsoft .NET Framework 4.6.1 %28x86 和 x64%29</ProductName>
  109. <Install>true</Install>
  110. </BootstrapperPackage>
  111. <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
  112. <Visible>False</Visible>
  113. <ProductName>.NET Framework 3.5 SP1</ProductName>
  114. <Install>false</Install>
  115. </BootstrapperPackage>
  116. </ItemGroup>
  117. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  118. <Import Project="..\..\packages\ComPDFKit.NetFramework.1.9.1\build\ComPDFKit.NetFramework.targets" Condition="Exists('..\..\packages\ComPDFKit.NetFramework.1.9.1\build\ComPDFKit.NetFramework.targets')" />
  119. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  120. <PropertyGroup>
  121. <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>
  122. </PropertyGroup>
  123. <Error Condition="!Exists('..\..\packages\ComPDFKit.NetFramework.1.9.1\build\ComPDFKit.NetFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\ComPDFKit.NetFramework.1.9.1\build\ComPDFKit.NetFramework.targets'))" />
  124. </Target>
  125. </Project>