-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #19 - convert all project into new .csproj format for better mu…
…lti-platform support.
- Loading branch information
Showing
9 changed files
with
51 additions
and
352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,150 +1,47 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{E857560B-A766-4BF5-A601-A5503CDBC825}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>LovePdf</RootNamespace> | ||
<AssemblyName>ILovePdf</AssemblyName> | ||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<TargetFrameworkProfile /> | ||
<TargetFramework>net46</TargetFramework> | ||
<AssemblyTitle>iLovePDF</AssemblyTitle> | ||
<Product>iLovePDF</Product> | ||
<Description>Develop and automate PDF processing tasks like Compress PDF, Merge PDF, Split PDF, convert Office to PDF, PDF to JPG, Images to PDF, add Page Numbers, Rotate PDF, Unlock PDF, stamp a Watermark and Repair PDF. Each one with several settings to get your desired results.</Description> | ||
<Copyright>Copyright 2017</Copyright> | ||
<Version>1.2.1.0</Version> | ||
<AssemblyVersion>1.2.1.0</AssemblyVersion> | ||
<FileVersion>1.2.1.0</FileVersion> | ||
<OutputPath>bin\$(Configuration)\</OutputPath> | ||
<Authors>Mario Martinez, Alexandra Kyluk, Aleksey Sidorov, Egor Krivoshapka</Authors> | ||
<PackageId>ILove_PDF</PackageId> | ||
<PackageLicenseUrl>https://opensource.org/licenses/MIT</PackageLicenseUrl> | ||
<PackageProjectUrl>https://github.com/ilovepdf/ilovepdf-net</PackageProjectUrl> | ||
<PackageReleaseNotes>.Net Compliance, bug fixes</PackageReleaseNotes> | ||
<PackageTags>ILOVEPDF Merge PDF Split convert Office to pdf PDf JPG Images unlock Pdf repair rotate pdf</PackageTags> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<DocumentationFile>bin\Debug\ILovePdf.xml</DocumentationFile> | ||
<DocumentationFile>bin\$(Configuration)\ILovePdf.xml</DocumentationFile> | ||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> | ||
<RunCodeAnalysis>true</RunCodeAnalysis> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<SignAssembly>false</SignAssembly> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<AssemblyOriginatorKeyFile>iLovePdf.snk</AssemblyOriginatorKeyFile> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="JWT, Version=4.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
<HintPath>..\packages\JWT.4.0.0\lib\net46\JWT.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> | ||
<HintPath>..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<PackageReference Include="JWT" Version="4.0.0" /> | ||
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Reference Include="System.ComponentModel.DataAnnotations" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Runtime.Serialization" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Core\ConnectTaskResponse.cs" /> | ||
<Compile Include="Core\ExecuteTaskResponse.cs" /> | ||
<Compile Include="Core\StartTaskResponse.cs" /> | ||
<Compile Include="Core\LovePdfApi.cs" /> | ||
<Compile Include="Core\Validation.cs" /> | ||
<Compile Include="Model\Enums\Gravity.cs" /> | ||
<Compile Include="Model\Enums\ValidationStatus.cs" /> | ||
<Compile Include="Model\Enums\EnumExtensions.cs" /> | ||
<Compile Include="Model\Enums\FontFamilies.cs" /> | ||
<Compile Include="Model\Exception\DownloadException.cs" /> | ||
<Compile Include="Model\Enums\BadRequestErrors.cs" /> | ||
<Compile Include="Model\Enums\ConformanceValues.cs" /> | ||
<Compile Include="Model\Enums\Layer.cs" /> | ||
<Compile Include="Model\Enums\WatermarkHorizontalPositions.cs" /> | ||
<Compile Include="Model\Enums\WatermarkVerticalPositions.cs" /> | ||
<Compile Include="Model\Enums\Rotate.cs" /> | ||
<Compile Include="Model\Exception\ProcessingException.cs" /> | ||
<Compile Include="Model\Exception\UploadException.cs" /> | ||
<Compile Include="Model\TaskParams\BaseParams.cs" /> | ||
<Compile Include="Model\TaskParams\CompressParams.cs" /> | ||
<Compile Include="Model\TaskParams\ExtractParams.cs" /> | ||
<Compile Include="Model\TaskParams\PdftoJpgParams.cs" /> | ||
<Compile Include="Model\TaskParams\PdfToPdfAParams.cs" /> | ||
<Compile Include="Model\TaskParams\ProtectParams.cs" /> | ||
<Compile Include="Model\TaskParams\SplitModeFixedRanges.cs" /> | ||
<Compile Include="Model\TaskParams\SplitModeRanges.cs" /> | ||
<Compile Include="Model\TaskParams\SplitModeRemovePages.cs" /> | ||
<Compile Include="Model\TaskParams\ValidatePdfAParams.cs" /> | ||
<Compile Include="Model\TaskParams\WatermarkModeImage.cs" /> | ||
<Compile Include="Model\TaskParams\WatermarkModeText.cs" /> | ||
<Compile Include="Model\TaskParams\WaterMarkParamsElement.cs" /> | ||
<Compile Include="Model\Task\CompressTask.cs" /> | ||
<Compile Include="Model\Enums\CompressionLevels.cs" /> | ||
<Compile Include="Model\Enums\FontStyles.cs" /> | ||
<Compile Include="Model\Enums\HorizontalPositions.cs" /> | ||
<Compile Include="Model\Enums\Orientations.cs" /> | ||
<Compile Include="Model\Enums\PageSizes.cs" /> | ||
<Compile Include="Model\Enums\PdfJpgModes.cs" /> | ||
<Compile Include="Model\Enums\SplitModes.cs" /> | ||
<Compile Include="Model\Enums\VerticalPositions.cs" /> | ||
<Compile Include="Model\Enums\WatermarkModes.cs" /> | ||
<Compile Include="Model\Enums\Tool.cs" /> | ||
<Compile Include="Core\FileParameter.cs" /> | ||
<Compile Include="Core\BaseTaskRequest.cs" /> | ||
<Compile Include="Core\DeleteTaskResponse.cs" /> | ||
<Compile Include="Core\StatusTaskResponse.cs" /> | ||
<Compile Include="Core\UploadTaskResponse.cs" /> | ||
<Compile Include="Model\TaskParams\ImageToPdfParams.cs" /> | ||
<Compile Include="Core\FileModel.cs" /> | ||
<Compile Include="Model\Task\ExtractTask.cs" /> | ||
<Compile Include="Model\Task\ImagetoPDFTask.cs" /> | ||
<Compile Include="Model\Task\LovePdfTask.cs" /> | ||
<Compile Include="Model\TaskParams\MergeParams.cs" /> | ||
<Compile Include="Model\Task\MergeTask.cs" /> | ||
<Compile Include="Model\TaskParams\PageNumbersParams.cs" /> | ||
<Compile Include="Model\Task\OfficeToPdfTask.cs" /> | ||
<Compile Include="Model\Task\PageNumbersTask.cs" /> | ||
<Compile Include="Model\Task\PdfToJpgTask.cs" /> | ||
<Compile Include="Model\Task\PdfToPdfATask.cs" /> | ||
<Compile Include="Model\Task\ProtectTask.cs" /> | ||
<Compile Include="Model\Task\RepairTask.cs" /> | ||
<Compile Include="Model\Task\RotateTask.cs" /> | ||
<Compile Include="Model\Task\UnlockTask.cs" /> | ||
<Compile Include="Model\Exception\NotFoundException.cs" /> | ||
<Compile Include="Model\Task\ValidatePdfATask.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="Core\RequestHelper.cs" /> | ||
<Compile Include="Model\Exception\ServerErrorException.cs" /> | ||
<Compile Include="Core\Settings.cs" /> | ||
<Compile Include="Model\TaskParams\SplitParams.cs" /> | ||
<Compile Include="Model\Task\SplitTask.cs" /> | ||
<Compile Include="Model\TaskParams\WatermarkParams.cs" /> | ||
<Compile Include="Model\Task\WaterMarkTask.cs" /> | ||
<Compile Include="Model\Exception\TooManyRequestsException.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="app.config" /> | ||
<None Include="ILovePDF.nuspec" /> | ||
<None Include="iLovePdf.snk" /> | ||
<None Include="packages.config" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,10 @@ | ||
using System.Reflection; | ||
using System.Runtime.InteropServices; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyTitle("Samples")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("Samples")] | ||
[assembly: AssemblyCopyright("Copyright © 2017")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// Setting ComVisible to false makes the types in this assembly not visible | ||
// to COM components. If you need to access a type in this assembly from | ||
// COM, set the ComVisible attribute to true on that type. | ||
[assembly: ComVisible(false)] | ||
|
||
// The following GUID is for the ID of the typelib if this project is exposed to COM | ||
[assembly: Guid("652b4674-62cf-46a2-9fdf-f1d342fc79a5")] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Build and Revision Numbers | ||
// by using the '*' as shown below: | ||
// [assembly: AssemblyVersion("1.0.*")] | ||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{652B4674-62CF-46A2-9FDF-F1D342FC79A5}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>Samples</RootNamespace> | ||
<AssemblyName>Samples</AssemblyName> | ||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<TargetFrameworkProfile /> | ||
<TargetFramework>net46</TargetFramework> | ||
<AssemblyTitle>Samples</AssemblyTitle> | ||
<Product>Samples</Product> | ||
<Copyright>Copyright © 2017</Copyright> | ||
<AssemblyTitle>Samples</AssemblyTitle> | ||
<Product>Samples</Product> | ||
<Copyright>Copyright © 2017</Copyright> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<OutputPath>bin\$(Configuration)\</OutputPath> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="CompressAdvanced.cs" /> | ||
<Compile Include="CompressBasic.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="ProtectBasic.cs" /> | ||
<Compile Include="RepairAdvanced.cs" /> | ||
<Compile Include="RepairBasic.cs" /> | ||
<Compile Include="RotateAdvanced.cs" /> | ||
<Compile Include="RotateBasic.cs" /> | ||
<Compile Include="SplitAdvanced.cs" /> | ||
<Compile Include="SplitAdvancedMerged.cs" /> | ||
<Compile Include="SplitBasic.cs" /> | ||
<Compile Include="TryCatchErrors.cs" /> | ||
<Compile Include="UnlockAdvanced.cs" /> | ||
<Compile Include="UnlockBasic.cs" /> | ||
<Compile Include="ValidatepdfaAdvanced.cs" /> | ||
<Compile Include="ValidatepdfaBasic.cs" /> | ||
<Compile Include="WatermarkAdvanced.cs" /> | ||
<Compile Include="WatermarkBasic.cs" /> | ||
<ProjectReference Include="..\ILovePDF\iLovePDF.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\ILovePDF\iLovePDF.csproj"> | ||
<Project>{E857560B-A766-4BF5-A601-A5503CDBC825}</Project> | ||
<Name>iLovePDF</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="app.config" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,6 @@ | ||
using System.Reflection; | ||
using System.Reflection; | ||
using System.Runtime.InteropServices; | ||
|
||
[assembly: AssemblyTitle("Tests")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("Tests")] | ||
[assembly: AssemblyCopyright("Copyright © 2017")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
[assembly: ComVisible(false)] | ||
|
||
[assembly: Guid("76837053-65fd-43f0-b69d-1c6965b302e2")] | ||
|
||
// [assembly: AssemblyVersion("1.0.*")] | ||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] |
Oops, something went wrong.