Permalink
Browse files

Update Build.dll to latest, add mono-compatible downloader and certs

  • Loading branch information...
1 parent 81d2938 commit a7ec3af546a5836d5da246044ae0cb6b29ff7cd2 @Lagg Lagg committed Nov 7, 2013
Showing with 5 additions and 2 deletions.
  1. BIN .nuget/Microsoft.Build.dll
  2. +5 −2 .nuget/NuGet.targets
Binary file not shown.
@@ -83,7 +83,10 @@
</Target>
<Target Name="_DownloadNuGet">
- <DownloadNuGet OutputFilename="$(NuGetExePath)" Condition=" '$(DownloadNuGetExe)' == 'true' AND !Exists('$(NuGetExePath)')" />
+ <!-- Inline tasks are not yet supported by xbuild -->
+ <Exec Command="mozroots --import --sync;wget -O '$(NuGetExePath)' https://nuget.org/nuget.exe"
+ Condition="'$(OS)' != 'Windows_NT' AND '$(DownloadNuGetExe)' == 'true' AND !Exists('$(NuGetExePath)')" />
+ <DownloadNuGet OutputFilename="$(NuGetExePath)" Condition="'$(OS)' == 'Windows_NT' AND '$(DownloadNuGetExe)' == 'true' AND !Exists('$(NuGetExePath)')" />
</Target>
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
@@ -134,4 +137,4 @@
</Code>
</Task>
</UsingTask>
-</Project>
+</Project>

0 comments on commit a7ec3af

Please sign in to comment.