WatermarkTest.csproj 4.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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.1.0, Culture=neutral, processorArchitecture=MSIL">
  40. <HintPath>..\..\packages\ComPDFKit.NetFramework.1.9.1\lib\ComPDFKit.Desk.dll</HintPath>
  41. </Reference>
  42. <Reference Include="ComPDFKit.Viewer, Version=1.9.1.0, Culture=neutral, processorArchitecture=MSIL">
  43. <HintPath>..\..\packages\ComPDFKit.NetFramework.1.9.1\lib\ComPDFKit.Viewer.dll</HintPath>
  44. </Reference>
  45. <Reference Include="PresentationFramework.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
  46. <HintPath>..\..\packages\PresentationFramework.Aero2.1.0.1\lib\PresentationFramework.Aero2.dll</HintPath>
  47. </Reference>
  48. <Reference Include="System" />
  49. <Reference Include="System.Core" />
  50. <Reference Include="System.Drawing" />
  51. <Reference Include="System.Xml.Linq" />
  52. <Reference Include="System.Data.DataSetExtensions" />
  53. <Reference Include="Microsoft.CSharp" />
  54. <Reference Include="System.Data" />
  55. <Reference Include="System.Net.Http" />
  56. <Reference Include="System.Xml" />
  57. </ItemGroup>
  58. <ItemGroup>
  59. <Compile Include="..\LicenseKey.cs">
  60. <Link>LicenseKey.cs</Link>
  61. </Compile>
  62. <Compile Include="WatermarkTest.cs" />
  63. <Compile Include="Properties\AssemblyInfo.cs" />
  64. </ItemGroup>
  65. <ItemGroup>
  66. <None Include="..\..\TestFile\Watermark.pdf">
  67. <Link>Watermark.pdf</Link>
  68. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  69. </None>
  70. <None Include="..\..\TestFile\CommonFivePage.pdf">
  71. <Link>CommonFivePage.pdf</Link>
  72. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  73. </None>
  74. <None Include="App.config" />
  75. <None Include="packages.config" />
  76. </ItemGroup>
  77. <ItemGroup>
  78. <None Include="..\..\license_key_windows.xml">
  79. <Link>license_key_windows.xml</Link>
  80. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  81. </None>
  82. </ItemGroup>
  83. <ItemGroup>
  84. <None Include="..\..\TestFile\logo.png">
  85. <Link>logo.png</Link>
  86. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  87. </None>
  88. </ItemGroup>
  89. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  90. <Import Project="..\..\packages\ComPDFKit.NetFramework.1.9.1\build\ComPDFKit.NetFramework.targets" Condition="Exists('..\..\packages\ComPDFKit.NetFramework.1.9.1\build\ComPDFKit.NetFramework.targets')" />
  91. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  92. <PropertyGroup>
  93. <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>
  94. </PropertyGroup>
  95. <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'))" />
  96. </Target>
  97. </Project>