Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed the build.

- Use old version of nuget for windows
- Use newer version of nuget for non windows.
  • Loading branch information...
commit 0e5e7da7866ea8ade81ffde3fb509a1e0ef958db 1 parent c338c99
@davidfowl davidfowl authored
View
BIN  .nuget/NuGet.exe
Binary file not shown
View
6 .nuget/NuGet.targets
@@ -10,7 +10,7 @@
<BuildPackage Condition=" '$(BuildPackage)' == '' ">false</BuildPackage>
<!-- Download NuGet.exe if it does not already exist -->
- <DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' == '' ">false</DownloadNuGetExe>
+ <DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' == '' ">false</DownloadNuGetExe>
</PropertyGroup>
<ItemGroup Condition=" '$(PackageSources)' == '' ">
@@ -26,6 +26,7 @@
<NuGetToolsPath>$([System.IO.Path]::Combine($(SolutionDir), ".nuget"))</NuGetToolsPath>
<PackagesConfig>$([System.IO.Path]::Combine($(ProjectDir), "packages.config"))</PackagesConfig>
<PackagesDir>$([System.IO.Path]::Combine($(SolutionDir), "packages"))</PackagesDir>
+ <NuGetExeFile>nuget.exe</NuGetExeFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT'">
@@ -33,11 +34,12 @@
<NuGetToolsPath>$(SolutionDir).nuget</NuGetToolsPath>
<PackagesConfig>packages.config</PackagesConfig>
<PackagesDir>$(SolutionDir)packages</PackagesDir>
+ <NuGetExeFile>nuget.mono.exe</NuGetExeFile>
</PropertyGroup>
<PropertyGroup>
<!-- NuGet command -->
- <NuGetExePath Condition=" '$(NuGetExePath)' == '' ">$(NuGetToolsPath)\nuget.exe</NuGetExePath>
+ <NuGetExePath Condition=" '$(NuGetExePath)' == '' ">$(NuGetToolsPath)\$(NuGetExeFile)</NuGetExePath>
<PackageSources Condition=" $(PackageSources) == '' ">@(PackageSource)</PackageSources>
<NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">"$(NuGetExePath)"</NuGetCommand>
View
BIN  .nuget/nuget.mono.exe
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.