Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 634ae54

Browse files
shanaStanleyGoldman
authored andcommitted
Bump System.Net.Http and Octokit builds to pick up type conflict fix
Fixes #503 When running System.Net.Http in Unity with the 4.6 experimental runtime, Unity will load Mono's version of System.Net.Http, which causes type conflicts all over the place given that both dlls are running side by side. Easiest way of avoiding that is to move all the classes in System.Net.Http into its own namespace - "DotNetHttp35". Also renamed the dll to reflect the namespace change. See github-for-unity/dotnet-httpclient35@8566426a9217
1 parent d714c7d commit 634ae54

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed

common/build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<HintPath>$(SolutionDir)lib\octokit.net\Octokit.dll</HintPath>
3131
</Reference>
3232
<Reference Include="System.Net.Http">
33-
<HintPath>$(SolutionDir)lib\dotnet-httpclient35\System.Net.Http.dll</HintPath>
33+
<HintPath>$(SolutionDir)lib\dotnet-httpclient35\DotNetHttp35.dll</HintPath>
3434
</Reference>
3535
</ItemGroup>
3636
</Otherwise>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:6daaf4e57900d0a092a94dbe10aca3796ad7496f40347112b602a6ff6dcf0275
3+
size 123392
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:be437526dd7332f42ea2c10cf9548e5c8b4f3f0fc735d584294d72ba4d592e81
3+
size 47000

lib/dotnet-httpClient35/System.Net.Http.dll

Lines changed: 0 additions & 3 deletions
This file was deleted.

lib/dotnet-httpClient35/System.Net.Http.dll.mdb

Lines changed: 0 additions & 3 deletions
This file was deleted.

lib/dotnet-httpClient35/md5sums.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
e15a0894ef162ec53566fa9c8211e583 *System.Net.Http.dll
2-
161847a9a61eb3cdab7a7706e83265a1 *System.Net.Http.dll.mdb
1+
0b299a0c541e19a6205f1265da27e540 *DotNetHttp35.dll
2+
4698f765de6671c08befd610eb254013 *DotNetHttp35.dll.mdb

lib/octokit.net/Octokit.dll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:003fb61b6517b43d4ce412070bede800af20a161bcf8cb9cbcbac38aed1075da
2+
oid sha256:cb297646723b439a8755e1b967a9f5850dd9c50f1126f1e6ba9ddd8677188f84
33
size 741888

lib/octokit.net/Octokit.dll.mdb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:fe50d2c5d38b8dd9407a9053f46b4cec638959637d690ff169cf7aea2db4a187
3-
size 288546
2+
oid sha256:ebdf240eb57a1154884fdc1ae5962e0d2af5f0c663fe5cb8f1897fa5c82b7218
3+
size 283050

lib/octokit.net/md5sums.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ecb6930236469c41a36dee6d84fcab7a *Octokit.dll
2-
2a41d96c1ad9229d8ff2f46b8847ec6a *Octokit.dll.mdb
1+
352dbd9611f700a9dbde52999752d88d *Octokit.dll
2+
883c04490791e7d4f63c2e918233dc55 *Octokit.dll.mdb

script

0 commit comments

Comments
 (0)