Skip to content

Commit

Permalink
included tarket framework netframework2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeleusin committed May 22, 2018
1 parent 4ac67bb commit dc6592f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions nuspec/Sendgrid.9.9.0.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
<dependency id="Newtonsoft.Json" version="9.0.1" />
<dependency id="Microsoft.AspNetCore.Http.Abstractions" version="1.1.0" />
</group>
<group targetFramework="netstandard2.0">
<dependency id="Newtonsoft.Json" version="9.0.1" />
<dependency id="Microsoft.AspNetCore.Http.Abstractions" version="1.1.0" />
</group>
</dependencies>
<frameworkAssemblies>
<frameworkAssembly assemblyName="System.Net.Http" targetFramework="net45" />
Expand Down
7 changes: 6 additions & 1 deletion src/SendGrid/SendGrid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<VersionPrefix>9.9.0</VersionPrefix>
<TargetFrameworks>netstandard1.3;net452</TargetFrameworks>
<TargetFrameworks>netstandard1.3;netstandard2.0;net452</TargetFrameworks>
<PlatformTarget>anycpu</PlatformTarget>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AssemblyName>SendGrid</AssemblyName>
Expand Down Expand Up @@ -30,6 +30,11 @@
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="1.1.2" />
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net452' ">
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
<Reference Include="System.Net.Http" />
Expand Down

0 comments on commit dc6592f

Please sign in to comment.