diff options
author | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2014-04-10 17:41:30 +0400 |
---|---|---|
committer | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2014-04-10 17:41:50 +0400 |
commit | 7563cd0070015cfd2b9a8e3e8d6fc5dcd9fe4a6a (patch) | |
tree | 01df8bdd2ed8673c92cf327eec0a54751c34c560 /main/src/core/MonoDevelop.Core | |
parent | 1f233ca6dead99bf53ac12aa711bf745da9f77f8 (diff) |
Use .Create instead of .CreateHttp as the latter is PCL-only.
Diffstat (limited to 'main/src/core/MonoDevelop.Core')
-rw-r--r-- | main/src/core/MonoDevelop.Core/MonoDevelop.Core/FileService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Core/FileService.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Core/FileService.cs index d16eca940a..08ee2a7ae1 100644 --- a/main/src/core/MonoDevelop.Core/MonoDevelop.Core/FileService.cs +++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Core/FileService.cs @@ -659,7 +659,7 @@ namespace MonoDevelop.Core Func<Stream,bool> validateDownload = null, CancellationToken ct = default (CancellationToken)) {
return WebRequestHelper.GetResponseAsync ( - () => WebRequest.CreateHttp (url), + () => WebRequest.Create (url), r => { //check to see if the online file has been modified since it was last downloaded
var localNewsXml = new FileInfo (cacheFile);
|