Skip to content

Commit c0c0685

Browse files
committed
-Mulit targeting implemented
1 parent 8395a58 commit c0c0685

File tree

5 files changed

+1591
-65
lines changed

5 files changed

+1591
-65
lines changed

MailChimp.Net.Tests/MailChimp.Net.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<PackageId>MailChimp.Net.Tests</PackageId>
88
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
99
<PackageTargetFallback>$(PackageTargetFallback);dnxcore50;portable-net451+win8</PackageTargetFallback>
10-
<RuntimeFrameworkVersion>1.1.1</RuntimeFrameworkVersion>
1110
</PropertyGroup>
1211

1312
<ItemGroup>
1413
<PackageReference Include="FluentAssertions" Version="4.19.2" />
1514
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
15+
<PackageReference Include="NETStandard.Library" Version="2.0.0" />
1616
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.0-beta3-build3705" />
1717
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="1.1.1" />
1818
<PackageReference Include="xunit" Version="2.3.0-beta3-build3705" />

MailChimp.Net/MailChimp.Net.csproj

Lines changed: 60 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,48 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>netstandard1.3</TargetFramework>
5-
</PropertyGroup>
6-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
7-
<DebugSymbols>true</DebugSymbols>
8-
<DebugType>full</DebugType>
9-
<Optimize>true</Optimize>
10-
<OutputPath>bin\Debug\</OutputPath>
11-
<DefineConstants>DEBUG;TRACE</DefineConstants>
12-
<ErrorReport>prompt</ErrorReport>
13-
<WarningLevel>4</WarningLevel>
14-
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
15-
<RunCodeAnalysis>true</RunCodeAnalysis>
16-
</PropertyGroup>
17-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
18-
<DebugType>pdbonly</DebugType>
19-
<Optimize>true</Optimize>
20-
<OutputPath>bin\Release\</OutputPath>
21-
<DefineConstants>TRACE</DefineConstants>
22-
<ErrorReport>prompt</ErrorReport>
23-
<WarningLevel>4</WarningLevel>
24-
</PropertyGroup>
25-
<PropertyGroup>
26-
<SignAssembly>true</SignAssembly>
27-
</PropertyGroup>
28-
<PropertyGroup>
29-
<AssemblyOriginatorKeyFile>MailChimp.Key.snk</AssemblyOriginatorKeyFile>
3+
<PropertyGroup>
4+
<TargetFrameworks>
5+
netstandard1.3;netstandard1.4;netstandard1.5;
6+
netstandard1.6;netstandard1.7;netstandard1.8;
7+
netstandard1.9;netstandard2.0;net46;net461;
8+
<!--netcore451;netcore45;netcore50;-->
9+
net451;net47</TargetFrameworks>
10+
</PropertyGroup>
11+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
12+
<DebugSymbols>true</DebugSymbols>
13+
<DebugType>full</DebugType>
14+
<Optimize>true</Optimize>
15+
<OutputPath>bin\Debug\</OutputPath>
16+
<DefineConstants>DEBUG;TRACE</DefineConstants>
17+
<ErrorReport>prompt</ErrorReport>
18+
<WarningLevel>4</WarningLevel>
19+
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
20+
<RunCodeAnalysis>true</RunCodeAnalysis>
21+
</PropertyGroup>
22+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
23+
<DebugType>pdbonly</DebugType>
24+
<Optimize>true</Optimize>
25+
<OutputPath>bin\Release\</OutputPath>
26+
<DefineConstants>TRACE</DefineConstants>
27+
<ErrorReport>prompt</ErrorReport>
28+
<WarningLevel>4</WarningLevel>
29+
</PropertyGroup>
30+
<PropertyGroup>
31+
<SignAssembly>true</SignAssembly>
32+
</PropertyGroup>
33+
<PropertyGroup>
34+
<!--<NuspecFile>MailChimp.Net.nuspec</NuspecFile>-->
35+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
36+
37+
<AssemblyOriginatorKeyFile>MailChimp.Key.snk</AssemblyOriginatorKeyFile>
3038
<PackageId>MailChimp.Net.V3</PackageId>
3139
<Version>3.0.0</Version>
3240
<Authors>Brandon Seydel</Authors>
3341
<Company>DevSquad</Company>
3442
<Product>MailChimp.Net.V3</Product>
35-
<Description>A .NET Wrapper for Mail Chimp v3.0 API
36-
A very fast, thin, and intuitive .NET Wrapper for the Mail Chimp v3.0 API.</Description>
43+
<Title>MailChimp.Net.V3</Title>
44+
<Description>A .NET Wrapper for Mail Chimp v3.0 API</Description>
45+
<Summary>A very fast, thin, and intuitive .NET Wrapper for the Mail Chimp v3.0 API.</Summary>
3746
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
3847
<Copyright>Copyright © 2017</Copyright>
3948
<PackageProjectUrl>https://github.com/brandonseydel/MailChimp.Net</PackageProjectUrl>
@@ -44,18 +53,28 @@ A very fast, thin, and intuitive .NET Wrapper for the Mail Chimp v3.0 API.</Des
4453
<PackageIconUrl>http://developer.mailchimp.com/documentation/mailchimp/img/freddie_o.svg</PackageIconUrl>
4554
<PackageTags>MailChimp Mail Chimp 3.0 v3.0 MailChimp.Net.V3 MailChimpv3.0 MailChimpv3 MailChimp3</PackageTags>
4655
<PackageLicenseUrl>https://github.com/brandonseydel/MailChimp.Net/blob/master/LICENSE.txt</PackageLicenseUrl>
47-
</PropertyGroup>
48-
<ItemGroup>
49-
<PackageReference Include="Microsoft.Extensions.Configuration" Version="1.1.2" />
50-
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="1.1.2" />
51-
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="1.1.2" />
52-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.2" />
53-
<PackageReference Include="Microsoft.Extensions.Options" Version="1.1.2" />
54-
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
55-
</ItemGroup>
56-
<ItemGroup>
57-
<Folder Include="Properties\" />
58-
</ItemGroup>
56+
57+
<!--<dependencies>
58+
<dependency id="Newtonsoft.Json" version="10.0.3" />
59+
<dependency id="Microsoft.Extensions.Options" version="1.1.2" />
60+
<dependency id="Microsoft.Extensions.Configuration.Json" version="1.1.2" />
61+
<dependency id="Microsoft.Extensions.Configuration.FileExtensions" version="1.1.2" />
62+
<dependency id="Microsoft.Extensions.Configuration.EnvironmentVariables" version="1.1.2" />
63+
<dependency id="Microsoft.Extensions.Configuration" version="1.1.2" />
64+
</dependencies>-->
65+
</PropertyGroup>
66+
<ItemGroup>
67+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="1.1.2" />
68+
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="1.1.2" />
69+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.2" />
70+
<PackageReference Include="Microsoft.Extensions.Options" Version="1.1.2" />
71+
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
72+
<PackageReference Include="NuSpec.ReferenceGenerator" Version="2.0.0-beta-bld14" />
73+
</ItemGroup>
74+
75+
<ItemGroup>
76+
<Folder Include="Properties\" />
77+
</ItemGroup>
5978

6079

6180
</Project>

MailChimp.Net/MailChimp.Net.nuspec

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
1-
<?xml version="1.0"?>
2-
<package >
3-
<metadata>
4-
<id>$id$</id>
5-
<version>$version$</version>
6-
<title>$title$</title>
7-
<authors>$author$</authors>
8-
<owners>$author$</owners>
9-
<projectUrl>https://github.com/brandonseydel/MailChimp.Net</projectUrl>
10-
<iconUrl>http://developer.mailchimp.com/documentation/mailchimp/img/freddie_o.svg</iconUrl>
11-
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>$description$</description>
13-
<releaseNotes></releaseNotes>
14-
<copyright>Copyright © 2016</copyright>
15-
<tags>MailChimp Mail Chimp 3.0 MailChimp v3.0 MailChimp.Net.V3 MailChimpv3.0 MailChimpv3 MailChimp3</tags>
16-
<summary>
17-
A very fast, thin, and intuitive .NET Wrapper for the Mail Chimp v3.0 API.
18-
</summary>
19-
<dependencies>
20-
<dependency id="Newtonsoft.Json" version="9.0.1" />
21-
<dependency id="Microsoft.AspNet.WebApi.Client" version="5.2.3" />
22-
</dependencies>
23-
</metadata>
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata>
4+
<id>MailChimp.Net.V3</id>
5+
<version>3.0.0.0</version>
6+
<title>MailChimp.Net.V3</title>
7+
<authors>Brandon Seydel (DevSquad)</authors>
8+
<owners>MailChimp.Net.V3</owners>
9+
<projectUrl>https://github.com/brandonseydel/MailChimp.Net</projectUrl>
10+
<licenseUrl>https://github.com/brandonseydel/MailChimp.Net/blob/master/LICENSE.txt</licenseUrl>
11+
<iconUrl>http://developer.mailchimp.com/documentation/mailchimp/img/freddie_o.svg</iconUrl>
12+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13+
<description>A .NET Wrapper for Mail Chimp v3.0 API</description>
14+
<releaseNotes></releaseNotes>
15+
<copyright>Copyright © 2017</copyright>
16+
<tags>MailChimp Mail Chimp 3.0 MailChimp v3.0 MailChimp.Net.V3 MailChimpv3.0 MailChimpv3 MailChimp3</tags>
17+
<summary>
18+
A very fast, thin, and intuitive .NET Wrapper for the Mail Chimp v3.0 API.
19+
</summary>
20+
<dependencies>
21+
</dependencies>
22+
</metadata>
2423
</package>

0 commit comments

Comments
 (0)