WatermarkTest.csproj 4.9 KB

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