WatermarkTest.csproj 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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>{8E440DCB-FCBC-4308-AB3D-50C38D017A40}</ProjectGuid>
  8. <OutputType>Exe</OutputType>
  9. <RootNamespace>WatermarkTest</RootNamespace>
  10. <AssemblyName>Samples_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. </PropertyGroup>
  18. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  19. <PlatformTarget>AnyCPU</PlatformTarget>
  20. <DebugSymbols>true</DebugSymbols>
  21. <DebugType>full</DebugType>
  22. <Optimize>false</Optimize>
  23. <OutputPath>bin\Debug\</OutputPath>
  24. <DefineConstants>DEBUG;TRACE</DefineConstants>
  25. <ErrorReport>prompt</ErrorReport>
  26. <WarningLevel>4</WarningLevel>
  27. <Prefer32Bit>false</Prefer32Bit>
  28. </PropertyGroup>
  29. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  30. <PlatformTarget>AnyCPU</PlatformTarget>
  31. <DebugType>pdbonly</DebugType>
  32. <Optimize>true</Optimize>
  33. <OutputPath>bin\Release\</OutputPath>
  34. <DefineConstants>TRACE</DefineConstants>
  35. <ErrorReport>prompt</ErrorReport>
  36. <WarningLevel>4</WarningLevel>
  37. </PropertyGroup>
  38. <ItemGroup>
  39. <Reference Include="ComPDFKit.Desk, Version=1.9.0.0, Culture=neutral, processorArchitecture=MSIL">
  40. <HintPath>..\..\packages\ComPDFKit.NetFramework.1.9.0\lib\ComPDFKit.Desk.dll</HintPath>
  41. </Reference>
  42. <Reference Include="ComPDFKit.Viewer, Version=1.9.0.0, Culture=neutral, processorArchitecture=MSIL">
  43. <HintPath>..\..\packages\ComPDFKit.NetFramework.1.9.0\lib\ComPDFKit.Viewer.dll</HintPath>
  44. </Reference>
  45. <Reference Include="System" />
  46. <Reference Include="System.Core" />
  47. <Reference Include="System.Drawing" />
  48. <Reference Include="System.Xml.Linq" />
  49. <Reference Include="System.Data.DataSetExtensions" />
  50. <Reference Include="Microsoft.CSharp" />
  51. <Reference Include="System.Data" />
  52. <Reference Include="System.Net.Http" />
  53. <Reference Include="System.Xml" />
  54. </ItemGroup>
  55. <ItemGroup>
  56. <Compile Include="..\LicenseKey.cs">
  57. <Link>LicenseKey.cs</Link>
  58. </Compile>
  59. <Compile Include="WatermarkTest.cs" />
  60. <Compile Include="Properties\AssemblyInfo.cs" />
  61. </ItemGroup>
  62. <ItemGroup>
  63. <None Include="..\..\TestFile\Watermark.pdf">
  64. <Link>Watermark.pdf</Link>
  65. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  66. </None>
  67. <None Include="..\..\TestFile\CommonFivePage.pdf">
  68. <Link>CommonFivePage.pdf</Link>
  69. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  70. </None>
  71. <None Include="App.config" />
  72. <None Include="packages.config" />
  73. </ItemGroup>
  74. <ItemGroup>
  75. <None Include="..\..\license_key_windows.xml">
  76. <Link>license_key_windows.xml</Link>
  77. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  78. </None>
  79. </ItemGroup>
  80. <ItemGroup>
  81. <None Include="..\..\TestFile\logo.png">
  82. <Link>logo.png</Link>
  83. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  84. </None>
  85. </ItemGroup>
  86. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  87. <Import Project="..\..\packages\ComPDFKit.NetFramework.1.9.0\build\ComPDFKit.NetFramework.targets" Condition="Exists('..\..\packages\ComPDFKit.NetFramework.1.9.0\build\ComPDFKit.NetFramework.targets')" />
  88. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  89. <PropertyGroup>
  90. <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>
  91. </PropertyGroup>
  92. <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'))" />
  93. </Target>
  94. </Project>