Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Update Newtonsoft.Json
Browse files Browse the repository at this point in the history
  • Loading branch information
azyobuzin committed Jul 23, 2016
1 parent bf1d1db commit 0099e7e
Show file tree
Hide file tree
Showing 12 changed files with 46 additions and 32 deletions.
4 changes: 2 additions & 2 deletions CoreTweet.Pcl/CoreTweet.Pcl.csproj
Expand Up @@ -35,8 +35,8 @@
<DocumentationFile>..\Release\portable-net45+dnxcore50+win8+wpa81+MonoAndroid+xamarinios+MonoTouch\CoreTweet.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.6.0.8\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\portable-net45+wp80+win8+wpa81\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion CoreTweet.Pcl/packages.config
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="portable45-net45+win8+wpa81" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="portable45-net45+win8+wpa81" />
</packages>
4 changes: 1 addition & 3 deletions CoreTweet.Shared/Internal/Extensions.cs
Expand Up @@ -144,15 +144,14 @@ internal static void Rethrow(this Exception ex)
}
}

#if WIN_RT || PCL
#if (WIN_RT || PCL) && !NETCOREAPP1_0
internal static class TypeInfoExtensions
{
internal static IEnumerable<Type> GetInterfaces(this TypeInfo source)
{
return source.ImplementedInterfaces;
}

#if !NETCOREAPP1_0
internal static PropertyInfo GetProperty(this TypeInfo source, string name)
{
return source.GetDeclaredProperty(name);
Expand All @@ -162,7 +161,6 @@ internal static MethodInfo GetGetMethod(this PropertyInfo source)
{
return source.GetMethod;
}
#endif
}
#endif

Expand Down
5 changes: 3 additions & 2 deletions CoreTweet.Universal/CoreTweet.Universal.csproj
Expand Up @@ -40,8 +40,9 @@
<TargetPlatform Include="Windows, Version=8.1" />
</ItemGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.6.0.8\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\portable-net45+wp80+win8+wpa81\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion CoreTweet.Universal/packages.config
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="portable-win81+wpa81" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="portable46-win81+wpa81" />
</packages>
7 changes: 4 additions & 3 deletions CoreTweet.net35/CoreTweet.net35.csproj
Expand Up @@ -31,11 +31,12 @@
<DocumentationFile>..\Release\net35\CoreTweet.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net35\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed">
<HintPath>..\packages\Newtonsoft.Json.4.5.11\lib\net35\Newtonsoft.Json.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
Expand Down
2 changes: 1 addition & 1 deletion CoreTweet.net35/packages.config
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="4.5.11" targetFramework="net35" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net35" />
</packages>
14 changes: 6 additions & 8 deletions CoreTweet.net40/CoreTweet.net40.csproj
Expand Up @@ -31,11 +31,12 @@
<DocumentationFile>..\Release\net40\CoreTweet.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
</ItemGroup>
<ProjectExtensions>
<MonoDevelop>
Expand All @@ -50,12 +51,9 @@
</Properties>
</MonoDevelop>
</ProjectExtensions>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<None Include="packages.config">
<SubType>Designer</SubType>
</None>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup />
<Import Project="..\CoreTweet.Shared\CoreTweet.Shared.projitems" Label="Shared" />
</Project>
2 changes: 1 addition & 1 deletion CoreTweet.net40/packages.config
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="4.5.11"/>
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net40" />
</packages>
7 changes: 4 additions & 3 deletions CoreTweet.net45/CoreTweet.net45.csproj
Expand Up @@ -31,11 +31,12 @@
<DocumentationFile>..\Release\net45\CoreTweet.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed">
<HintPath>..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http" />
<Reference Include="System.Net.Http.WebRequest" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion CoreTweet.net45/packages.config
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="4.5.11" targetFramework="net45" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net45" />
</packages>
27 changes: 21 additions & 6 deletions CoreTweet.nuspec
Expand Up @@ -20,17 +20,32 @@ See also: https://github.com/CoreTweet/CoreTweet
<tags>Twitter</tags>
<dependencies>
<group>
<dependency id="Newtonsoft.Json" version="6.0.8" />
</group>
<group targetFramework="net35">
<!-- Support old Mono -->
<dependency id="Newtonsoft.Json" version="4.5.11" />
<dependency id="Newtonsoft.Json" version="9.0.1" />
</group>
<group targetFramework="netstandard1.1">
<!-- Newtonsoft.Json started supporting .NETStandard from 9.0.1 -->
<dependency id="Newtonsoft.Json" version="9.0.1" />
<dependency id="System.Dynamic.Runtime" version="4.0.11" />
<dependency id="System.Globalization" version="4.0.11" />
<dependency id="System.Linq" version="4.1.0" />
<dependency id="System.Linq.Expressions" version="4.1.0" />
<dependency id="System.Net.Http" version="4.1.0" />
<dependency id="System.Reflection.Extensions" version="4.0.1" />
<dependency id="System.Runtime.Extensions" version="4.1.0" />
<dependency id="System.Text.RegularExpressions" version="4.1.0" />
<dependency id="System.Threading" version="4.0.11" />
</group>
<group targetFramework="netcoreapp1.0">
<dependency id="Newtonsoft.Json" version="9.0.1" />
<dependency id="System.Dynamic.Runtime" version="4.0.11" />
<dependency id="System.Globalization" version="4.0.11" />
<dependency id="System.IO.FileSystem", version="4.0.1" />
<dependency id="System.Linq" version="4.1.0" />
<dependency id="System.Linq.Expressions" version="4.1.0" />
<dependency id="System.Net.Http" version="4.1.0" />
<dependency id="System.Reflection.Extensions" version="4.0.1" />
<dependency id="System.Runtime.Extensions" version="4.1.0" />
<dependency id="System.Text.RegularExpressions" version="4.1.0" />
<dependency id="System.Threading" version="4.0.11" />
</group>
</dependencies>
</metadata>
Expand Down

0 comments on commit 0099e7e

Please sign in to comment.