[system.net.http] Set version to 4.0.0.0 on MOBILE
authorJonathan Pryor <jonpryor@vt.edu>
Wed, 14 May 2014 17:02:10 +0000 (13:02 -0400)
committerJonathan Pryor <jonpryor@vt.edu>
Wed, 14 May 2014 17:02:10 +0000 (13:02 -0400)
commit4c45fe93a1d288dc66df3d26059a167f6ae82785
tree3148afd08a2bb6e22728823a1c33b13889d3fa39
parent2ad48abb5d3f6c9276263e8f1cb4e4bd5411c45b
[system.net.http] Set version to 4.0.0.0 on MOBILE

For a variety of reasons, we need to bump the assembly version of
System.Net.Http.dll to "4.0.0.0" (from 2.0.5.0) on our MOBILE
profiles, lest much pain and suffering occur, e.g.:

http://motzcod.es/post/78863496592/portable-class-libraries-httpclient-so-happy

> For some reason at compile time the facades don’t kick in
> properly and it tries to use the NuGet version of
> System.Net.Http which has some specific functionality for
> older platforms. ...
> All you need to do is create a new app.config file in your
> Android and iOS project.

The need to create a custom app.config is ugly and something
to be avoided. Setting our System.Net.Http.dll version to
v4.0.0.0 removes the need for the custom app.config.
mcs/class/System.Net.Http/Assembly/AssemblyInfo.cs