Skip to content

Commit

Permalink
-Mulit targeting implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonseydel committed Sep 4, 2017
1 parent 8395a58 commit c0c0685
Show file tree
Hide file tree
Showing 5 changed files with 1,591 additions and 65 deletions.
2 changes: 1 addition & 1 deletion MailChimp.Net.Tests/MailChimp.Net.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<PackageId>MailChimp.Net.Tests</PackageId>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<PackageTargetFallback>$(PackageTargetFallback);dnxcore50;portable-net451+win8</PackageTargetFallback>
<RuntimeFrameworkVersion>1.1.1</RuntimeFrameworkVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="4.19.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
<PackageReference Include="NETStandard.Library" Version="2.0.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.0-beta3-build3705" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="1.1.1" />
<PackageReference Include="xunit" Version="2.3.0-beta3-build3705" />
Expand Down
101 changes: 60 additions & 41 deletions MailChimp.Net/MailChimp.Net.csproj
Original file line number Diff line number Diff line change
@@ -1,39 +1,48 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard1.3</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<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>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>MailChimp.Key.snk</AssemblyOriginatorKeyFile>
<PropertyGroup>
<TargetFrameworks>
netstandard1.3;netstandard1.4;netstandard1.5;
netstandard1.6;netstandard1.7;netstandard1.8;
netstandard1.9;netstandard2.0;net46;net461;
<!--netcore451;netcore45;netcore50;-->
net451;net47</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<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>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<!--<NuspecFile>MailChimp.Net.nuspec</NuspecFile>-->
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>

<AssemblyOriginatorKeyFile>MailChimp.Key.snk</AssemblyOriginatorKeyFile>
<PackageId>MailChimp.Net.V3</PackageId>
<Version>3.0.0</Version>
<Authors>Brandon Seydel</Authors>
<Company>DevSquad</Company>
<Product>MailChimp.Net.V3</Product>
<Description>A .NET Wrapper for Mail Chimp v3.0 API
A very fast, thin, and intuitive .NET Wrapper for the Mail Chimp v3.0 API.</Description>
<Title>MailChimp.Net.V3</Title>
<Description>A .NET Wrapper for Mail Chimp v3.0 API</Description>
<Summary>A very fast, thin, and intuitive .NET Wrapper for the Mail Chimp v3.0 API.</Summary>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Copyright>Copyright © 2017</Copyright>
<PackageProjectUrl>https://github.com/brandonseydel/MailChimp.Net</PackageProjectUrl>
Expand All @@ -44,18 +53,28 @@ A very fast, thin, and intuitive .NET Wrapper for the Mail Chimp v3.0 API.</Des
<PackageIconUrl>http://developer.mailchimp.com/documentation/mailchimp/img/freddie_o.svg</PackageIconUrl>
<PackageTags>MailChimp Mail Chimp 3.0 v3.0 MailChimp.Net.V3 MailChimpv3.0 MailChimpv3 MailChimp3</PackageTags>
<PackageLicenseUrl>https://github.com/brandonseydel/MailChimp.Net/blob/master/LICENSE.txt</PackageLicenseUrl>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.Options" Version="1.1.2" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>

<!--<dependencies>
<dependency id="Newtonsoft.Json" version="10.0.3" />
<dependency id="Microsoft.Extensions.Options" version="1.1.2" />
<dependency id="Microsoft.Extensions.Configuration.Json" version="1.1.2" />
<dependency id="Microsoft.Extensions.Configuration.FileExtensions" version="1.1.2" />
<dependency id="Microsoft.Extensions.Configuration.EnvironmentVariables" version="1.1.2" />
<dependency id="Microsoft.Extensions.Configuration" version="1.1.2" />
</dependencies>-->
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.Options" Version="1.1.2" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
<PackageReference Include="NuSpec.ReferenceGenerator" Version="2.0.0-beta-bld14" />
</ItemGroup>

<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>


</Project>
45 changes: 22 additions & 23 deletions MailChimp.Net/MailChimp.Net.nuspec
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>$id$</id>
<version>$version$</version>
<title>$title$</title>
<authors>$author$</authors>
<owners>$author$</owners>
<projectUrl>https://github.com/brandonseydel/MailChimp.Net</projectUrl>
<iconUrl>http://developer.mailchimp.com/documentation/mailchimp/img/freddie_o.svg</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<releaseNotes></releaseNotes>
<copyright>Copyright © 2016</copyright>
<tags>MailChimp Mail Chimp 3.0 MailChimp v3.0 MailChimp.Net.V3 MailChimpv3.0 MailChimpv3 MailChimp3</tags>
<summary>
A very fast, thin, and intuitive .NET Wrapper for the Mail Chimp v3.0 API.
</summary>
<dependencies>
<dependency id="Newtonsoft.Json" version="9.0.1" />
<dependency id="Microsoft.AspNet.WebApi.Client" version="5.2.3" />
</dependencies>
</metadata>
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>MailChimp.Net.V3</id>
<version>3.0.0.0</version>
<title>MailChimp.Net.V3</title>
<authors>Brandon Seydel (DevSquad)</authors>
<owners>MailChimp.Net.V3</owners>
<projectUrl>https://github.com/brandonseydel/MailChimp.Net</projectUrl>
<licenseUrl>https://github.com/brandonseydel/MailChimp.Net/blob/master/LICENSE.txt</licenseUrl>
<iconUrl>http://developer.mailchimp.com/documentation/mailchimp/img/freddie_o.svg</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>A .NET Wrapper for Mail Chimp v3.0 API</description>
<releaseNotes></releaseNotes>
<copyright>Copyright © 2017</copyright>
<tags>MailChimp Mail Chimp 3.0 MailChimp v3.0 MailChimp.Net.V3 MailChimpv3.0 MailChimpv3 MailChimp3</tags>
<summary>
A very fast, thin, and intuitive .NET Wrapper for the Mail Chimp v3.0 API.
</summary>
<dependencies>
</dependencies>
</metadata>
</package>
Loading

0 comments on commit c0c0685

Please sign in to comment.