Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Run nuget bootstrap with 'mono' on unix.

  • Loading branch information...
commit 131dce33aa97b15f2cfc6b2f7bc0712355930249 1 parent 8886401
John Gozde authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 src/.nuget/NuGet.targets
4 src/.nuget/NuGet.targets
@@ -15,6 +15,8 @@
15 15
16 16 <!-- NuGet bootstrapper-->
17 17 <NuGetBootstrapExePath>$(NuGetToolsPath)\nuget-bootstrap.exe</NuGetBootstrapExePath>
  18 + <NuGetBootstrapCommand Condition=" '$(OS)' == 'Windows_NT' ">$(NuGetBootstrapExePath)</NuGetBootstrapCommand>
  19 + <NuGetBootstrapCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 $(NuGetBootstrapExePath)</NuGetBootstrapCommand>
18 20
19 21 <!-- NuGet command -->
20 22 <NuGetExePath>$(NuGetToolsPath)\nuget.exe</NuGetExePath>
@@ -50,7 +52,7 @@
50 52 </PropertyGroup>
51 53
52 54 <Target Name="InstallNuGet">
53   - <Exec Command="$(NuGetBootstrapExePath)"></Exec>
  55 + <Exec Command="$(NuGetBootstrapCommand)"></Exec>
54 56 <Move SourceFiles="$(NuGetBootstrapExePath)" DestinationFiles="$(NuGetExePath)" />
55 57 <Move SourceFiles="$(NuGetBootstrapExePath).old" DestinationFiles="$(NuGetBootstrapExePath)" />
56 58 </Target>

0 comments on commit 131dce3

Please sign in to comment.
Something went wrong with that request. Please try again.