Skip to content

Commit 22ae9aa

Browse files
committed
remove ilmerge, update to version 103
1 parent 3d3f849 commit 22ae9aa

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

RestSharp.sln

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RestSharp.WindowsPhone", "R
1313
EndProject
1414
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NuGet", "NuGet", "{E709A928-A45C-4622-A35C-CCD8EE44CA80}"
1515
ProjectSection(SolutionItems) = preProject
16+
.gitignore = .gitignore
17+
package.cmd = package.cmd
18+
readme.txt = readme.txt
1619
restsharp.nuspec = restsharp.nuspec
1720
EndProjectSection
1821
EndProject

Tools/ILMerge.exe

-841 KB
Binary file not shown.

package.cmd

+6-7
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@ if not exist Download\package\lib\sl3-wp mkdir Download\package\lib\sl3-wp
77
if not exist Download\package\lib\sl4-wp71 mkdir Download\package\lib\sl4-wp71
88
if not exist Download\package\lib\sl4 mkdir Download\package\lib\sl4
99

10-
tools\ilmerge.exe /lib:RestSharp\bin\Release /internalize /ndebug /v2 /out:Download\RestSharp.dll RestSharp.dll Newtonsoft.Json.dll
1110
copy RestSharp\bin\Release\RestSharp.xml Download\
1211

13-
copy RestSharp.Silverlight\bin\Release\*.dll Download\Silverlight\
14-
copy RestSharp.Silverlight\bin\Release\*.xml Download\Silverlight\
12+
copy RestSharp.Silverlight\bin\Release\RestSharp.dll Download\Silverlight\
13+
copy RestSharp.Silverlight\bin\Release\RestSharp.xml Download\Silverlight\
1514

16-
copy RestSharp.WindowsPhone\bin\Release\*.dll Download\WindowsPhone\7.0\
17-
copy RestSharp.WindowsPhone\bin\Release\*.xml Download\WindowsPhone\7.0\
18-
copy RestSharp.WindowsPhone.Mango\bin\Release\*.dll Download\WindowsPhone\7.1\
19-
copy RestSharp.WindowsPhone.Mango\bin\Release\*.xml Download\WindowsPhone\7.1\
15+
copy RestSharp.WindowsPhone\bin\Release\RestSharp.dll Download\WindowsPhone\7.0\
16+
copy RestSharp.WindowsPhone\bin\Release\RestSharp.xml Download\WindowsPhone\7.0\
17+
copy RestSharp.WindowsPhone.Mango\bin\Release\RestSharp.dll Download\WindowsPhone\7.1\
18+
copy RestSharp.WindowsPhone.Mango\bin\Release\RestSharp.xml Download\WindowsPhone\7.1\
2019

2120
copy LICENSE.txt Download
2221
copy readme.txt Download

readme.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
*** IMPORTANT CHANGE IN VERSION 103 ***
1+
*** IMPORTANT CHANGE IN RESTSHARP VERSION 103 ***
22

33
In 103.0, JSON.NET was removed as a dependency.
44

55
If this is still installed in your project and no other libraries depend on it you may remove it from your installed packages.
66

7-
There is one breaking change: the default JsonSerializer is no longer compatible with Json.NET. To use Json.NET for serialization, copy the code from https://github.com/restsharp/RestSharp/blob/86b31f9adf049d7fb821de8279154f41a17b36f7/RestSharp/Serializers/JsonSerializer.cs and register it with your client:
7+
There is one breaking change: the default Json*Serializer* is no longer compatible with Json.NET. To use Json.NET for serialization, copy the code from https://github.com/restsharp/RestSharp/blob/86b31f9adf049d7fb821de8279154f41a17b36f7/RestSharp/Serializers/JsonSerializer.cs and register it with your client:
88

99
var client = new RestClient();
1010
client.JsonSerializer = new YourCustomSerializer();
1111

12+
The default Json*Deserializer* should be 100% compatible.
13+
1214
If you run into any compatibility issues with deserialization, please report it to http://groups.google.com/group/restsharp

restsharp.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata>
44
<id>RestSharp</id>
5-
<version>103.0.0-nojsondotnet</version>
5+
<version>103.0.0</version>
66
<authors>John Sheehan, RestSharp Community</authors>
77
<owners>John Sheehan</owners>
88
<description>Simple REST and HTTP API Client</description>

0 commit comments

Comments
 (0)