DigitalSignatureTest.csproj 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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>{7372311C-7A31-4D97-A2C0-FC005FC345C1}</ProjectGuid>
  8. <OutputType>Exe</OutputType>
  9. <RootNamespace>ConsoleApp1</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="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="DigitalSignatureTest.cs" />
  63. <Compile Include="Properties\AssemblyInfo.cs" />
  64. </ItemGroup>
  65. <ItemGroup>
  66. <None Include="..\..\license_key_windows.xml">
  67. <Link>license_key_windows.xml</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="..\..\TestFile\Signed.pdf">
  75. <Link>Signed.pdf</Link>
  76. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  77. </None>
  78. <None Include="App.config" />
  79. <None Include="Certificate.pfx">
  80. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  81. </None>
  82. <None Include="packages.config" />
  83. </ItemGroup>
  84. <ItemGroup>
  85. <None Include="Logo.png">
  86. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  87. </None>
  88. </ItemGroup>
  89. <ItemGroup>
  90. <Content Include="ComPDFKit_Logo.ico" />
  91. </ItemGroup>
  92. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  93. <Import Project="..\..\packages\ComPDFKit.NetFramework.1.10.0\build\ComPDFKit.NetFramework.targets" Condition="Exists('..\..\packages\ComPDFKit.NetFramework.1.10.0\build\ComPDFKit.NetFramework.targets')" />
  94. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  95. <PropertyGroup>
  96. <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>
  97. </PropertyGroup>
  98. <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'))" />
  99. </Target>
  100. </Project>