Skip to content

Commit c3ffdff

Browse files
chore: added net472 to csproj
1 parent 90de7b5 commit c3ffdff

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

src/Twilio/Twilio.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup Label="NuGet">
3-
<TargetFrameworks>netstandard1.4;netstandard2.0;net451;net35</TargetFrameworks>
3+
<TargetFrameworks>netstandard1.4;netstandard2.0;net451;net35;net472</TargetFrameworks>
44
<IsPackable>true</IsPackable>
55
<PackageId>Twilio</PackageId>
66
<Description>Twilio REST API helper library</Description>
@@ -46,6 +46,13 @@
4646
<Reference Include="System.Net" />
4747
<Reference Include="System.Net.Http" />
4848
</ItemGroup>
49+
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
50+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
51+
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.1.2" />
52+
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="5.1.2" />
53+
<Reference Include="System.Net" />
54+
<Reference Include="System.Net.Http" />
55+
</ItemGroup>
4956
<ItemGroup Condition=" '$(TargetFramework)' == 'net35' ">
5057
<Reference Include="System" />
5158
<Reference Include="System.Web" />

test/Twilio.Test/Twilio.Test.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
44
<RootNamespace>Twilio.Tests</RootNamespace>
5-
<TargetFrameworks>netcoreapp2.0;net451;net35</TargetFrameworks>
5+
<TargetFrameworks>netcoreapp2.0;net451;net35;net472</TargetFrameworks>
66
<RuntimeIdentifier Condition=" '$(TargetFramework)' == 'net451' ">win7-x86</RuntimeIdentifier>
7+
<RuntimeIdentifier Condition=" '$(TargetFramework)' == 'net472' ">win7-x86</RuntimeIdentifier>
78
<RuntimeIdentifier Condition=" '$(TargetFramework)' == 'net35' ">win7-x86</RuntimeIdentifier>
89
<IsPackable>false</IsPackable>
910
</PropertyGroup>
@@ -23,6 +24,10 @@
2324
<Reference Include="System.Net" />
2425
<Reference Include="System.Net.Http" />
2526
</ItemGroup>
27+
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
28+
<Reference Include="System.Net" />
29+
<Reference Include="System.Net.Http" />
30+
</ItemGroup>
2631
<ItemGroup>
2732
<ProjectReference Include="..\..\src\Twilio\Twilio.csproj" />
2833
</ItemGroup>

0 commit comments

Comments
 (0)