Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
convert to new VS project style + add multiple targetFrameworks
- Loading branch information
Showing
5 changed files
with
32 additions
and
155 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,104 +1,36 @@ | ||
<?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>{1CFB1BC1-86B3-415A-9D26-973C5F84FA07}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>ImageProcessor.Plugins.Pdf</RootNamespace> | ||
<AssemblyName>ImageProcessor.Plugins.Pdf</AssemblyName> | ||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<TargetFrameworkProfile /> | ||
</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> | ||
<RunCodeAnalysis>true</RunCodeAnalysis> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release45|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<OutputPath>bin\Release\net45\</OutputPath> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
<DocumentationFile>bin\Release\net45\ImageProcessor.Plugins.Pdf.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release461|AnyCPU'"> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<Optimize>true</Optimize> | ||
<DebugType>pdbonly</DebugType> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<ErrorReport>prompt</ErrorReport> | ||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | ||
<OutputPath>bin\Release\net461\</OutputPath> | ||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> | ||
<DocumentationFile>bin\Release\net461\ImageProcessor.Plugins.Pdf.xml</DocumentationFile> | ||
<TargetFrameworks>net45;net46;net47</TargetFrameworks> | ||
<AssemblyTitle>ImageProcessor.Plugins.Pdf</AssemblyTitle> | ||
<Product>ImageProcessor.Plugins.Pdf</Product> | ||
<Description>A plugin for ImageProcessor adding PDF as a recognized input format. This allows you to easily show thumbnails from PDF's.</Description> | ||
<Copyright>Copyright 2017</Copyright> | ||
<Version>1.3.0</Version> | ||
<Authors>Damiaan Peeters, Tom van Enckevort</Authors> | ||
<PackageId>ImageProcessor.Plugins.PDF</PackageId> | ||
<PackageLicenseUrl>https://github.com/dampee/ImageProcessor.Plugins.Pdf/blob/master/LICENSE</PackageLicenseUrl> | ||
<PackageProjectUrl>https://github.com/dampee/ImageProcessor.Plugins.Pdf</PackageProjectUrl> | ||
<PackageReleaseNotes>Pdfs are rendered as image, when a PDF has multiple pages, only the first is shown.</PackageReleaseNotes> | ||
<PackageTags>ImageProcessor Plugin PDF Fileformat convert GhostScript thumbnail PDFs</PackageTags> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<Company /> | ||
<RepositoryUrl>https://github.com/dampee/ImageProcessor.Plugins.Pdf</RepositoryUrl> | ||
<RepositoryType>GitHub</RepositoryType> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Ghostscript.NET, Version=1.2.1.0, Culture=neutral, PublicKeyToken=f85051de34525b59, processorArchitecture=MSIL"> | ||
<HintPath>packages\Ghostscript.NET.1.2.1\lib\net40\Ghostscript.NET.dll</HintPath> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="ImageProcessor, Version=2.5.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
<HintPath>packages\ImageProcessor.2.5.0\lib\net45\ImageProcessor.dll</HintPath> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Drawing" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<PackageReference Include="Ghostscript.NET" Version="1.2.1" /> | ||
<PackageReference Include="ImageProcessor" Version="2.5.0" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<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="PdfFormat.cs" /> | ||
<Compile Include="PdfRasterizer.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<None Include="README.md" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="ImageProcessor.Plugins.Pdf.nuspec"> | ||
<SubType>Designer</SubType> | ||
</None> | ||
<None Include="packages.config" /> | ||
<None Include="README.md" /> | ||
<None Remove=".gitignore" /> | ||
<None Remove="build.cmd" /> | ||
</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> | ||
--> | ||
<Target Name="AfterBuild"> | ||
<!-- Load up the information from the assembly --> | ||
<GetAssemblyIdentity AssemblyFiles="$(OutputPath)$(AssemblyName).dll"> | ||
<Output TaskParameter="Assemblies" ItemName="OutputAssemblyInfo" /> | ||
</GetAssemblyIdentity> | ||
<Message Text="Info: %(OutputAssemblyInfo.Version)" /> | ||
</Target> | ||
<Target Name="Package"> | ||
<!-- Ensure the Package directory exists for this project --> | ||
<RemoveDir Directories="NuGet" /> | ||
<MakeDir Directories="NuGet" /> | ||
<!-- Package the project --> | ||
<Exec WorkingDirectory="$(BuildDir)" Command="NuGet.exe pack -Verbosity detailed -Symbols -OutputDir "NuGet" -Version %(OutputAssemblyInfo.Version) -Properties "Configuration=$(Configuration)"" /> | ||
</Target> | ||
<Target Name="Publish"> | ||
<!-- Publish the nupkg to the server by simply copying it to the correct location. --> | ||
<!-- <Copy SourceFiles="$(PackageDir)\$(AssemblyName).%(OutputAssemblyInfo.Version).nupkg;$(PackageDir)\$(AssemblyName).%(OutputAssemblyInfo.Version).symbols.nupkg" DestinationFolder="nuget\package" /> --> | ||
</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 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,36 +1,11 @@ | ||
using System.Reflection; | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
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("ImageProcessor.Plugins.Pdf")] | ||
[assembly: AssemblyDescription("A plugin for ImageProcessor adding PDF as a recognized fileformat")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("ImageProcessor.Plugins.Pdf")] | ||
[assembly: AssemblyCopyright("Copyright © Damiaan Peeters 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("ecb0f4b0-0e24-4ca5-8bdf-a6de25f59171")] | ||
|
||
// 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.2.1")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] |
This file was deleted.
Oops, something went wrong.