Skip to content

Commit

Permalink
Merge pull request #29 from ahwm/master
Browse files Browse the repository at this point in the history
Multi-targeting 4.5, changing ownership
  • Loading branch information
ahwm authored Nov 7, 2018
2 parents 428803d + 713e133 commit 018b12e
Showing 1 changed file with 30 additions and 9 deletions.
39 changes: 30 additions & 9 deletions src/Cardknox.NET/Cardknox.csproj
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Authors>ahwm23</Authors>
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
<Authors>TheScripters</Authors>
<Company>The Scripters</Company>
<PackageId>Cardknox.API.Wrapper</PackageId>
<Product>Cardknox.API.Wrapper</Product>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<RootNamespace>CardknoxApi</RootNamespace>
<Version>4.0</Version>
<Version>4.5</Version>
<PackageProjectUrl>https://cardknox.adamh.us/</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/TheScripters/Cardknox-API-Wrapper/blob/master/LICENSE</PackageLicenseUrl>
<Description>API Wrapper for Cardknox Payment Processor written in C#

Refer to https://kb.cardknox.com/api for full API reference.</Description>
<PackageReleaseNotes>Added: EBT Wic (eWic), Gift Card, Fraud Submit. Introduced AvsResultType, which may break current implementations. API implementation complete.</PackageReleaseNotes>
Refer to https://kb.cardknox.com/api for full API reference or https://github.com/TheScripters/Cardknox-API-Wrapper/wiki/ for library reference</Description>
<PackageReleaseNotes>Multi-targeted to .NET 4.5 and .NET Standard 2.0 to alleviate some issues when adding to some project types</PackageReleaseNotes>
<PackageTags>cardknox gateway processor payment api ebt mastercard payments american express amex jcb diners club giftcard gift card discover</PackageTags>
<Copyright>© 2018 Adam Humpherys</Copyright>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<Copyright>© 2018 The Scripters</Copyright>
<AssemblyVersion>4.5.0.0</AssemblyVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand All @@ -28,8 +28,29 @@ Refer to https://kb.cardknox.com/api for full API reference.</Description>
<DocumentationFile></DocumentationFile>
</PropertyGroup>

<ItemGroup>
<!-- .NET Standard 2.0 references, compilation flags and build options -->
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0'">
<DefineConstants>NETCORE;NETSTANDARD;NETSTANDARD2_0</DefineConstants>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" />
</ItemGroup>

<!-- .NET 4.5+ references, compilation flags and build options -->
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<Reference Include="mscorlib" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Web" />
<Reference Include="System.Drawing" />
<Reference Include="System.Security" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
</ItemGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net45'">
<DefineConstants>NET45;NETFULL</DefineConstants>
</PropertyGroup>

</Project>

0 comments on commit 018b12e

Please sign in to comment.