File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 3535 <!-- We need to launch nuget.exe with the mono command if we're not on windows -->
3636 <NuGetToolsPath >$(SolutionDir).nuget</NuGetToolsPath >
3737 <PackagesConfig >packages.config</PackagesConfig >
38+ <MonoPath Condition =" '$(MonoPath)' == '' And Exists('/Library/Frameworks/Mono.framework/Commands/mono')" >/Library/Frameworks/Mono.framework/Commands/mono</MonoPath >
39+ <MonoPath Condition =" '$(MonoPath)' == ''" >mono</MonoPath >
3840 </PropertyGroup >
3941
4042 <PropertyGroup >
4345 <PackageSources Condition =" $(PackageSources) == '' " >@(PackageSource)</PackageSources >
4446
4547 <NuGetCommand Condition =" '$(OS)' == 'Windows_NT'" >"$(NuGetExePath)"</NuGetCommand >
46- <NuGetCommand Condition =" '$(OS)' != 'Windows_NT' " >mono --runtime=v4.0.30319 $(NuGetExePath)</NuGetCommand >
48+ <NuGetCommand Condition =" '$(OS)' != 'Windows_NT' " >$(MonoPath) --runtime=v4.0.30319 $(NuGetExePath)</NuGetCommand >
4749
4850 <PackageOutputDir Condition =" $(PackageOutputDir) == ''" >$(TargetDir.Trim('\\'))</PackageOutputDir >
4951
Original file line number Diff line number Diff line change 3535 <!-- We need to launch nuget.exe with the mono command if we're not on windows -->
3636 <NuGetToolsPath >$(SolutionDir).nuget</NuGetToolsPath >
3737 <PackagesConfig >packages.config</PackagesConfig >
38+ <MonoPath Condition =" '$(MonoPath)' == '' And Exists('/Library/Frameworks/Mono.framework/Commands/mono')" >/Library/Frameworks/Mono.framework/Commands/mono</MonoPath >
39+ <MonoPath Condition =" '$(MonoPath)' == ''" >mono</MonoPath >
3840 </PropertyGroup >
3941
4042 <PropertyGroup >
4345 <PackageSources Condition =" $(PackageSources) == '' " >@(PackageSource)</PackageSources >
4446
4547 <NuGetCommand Condition =" '$(OS)' == 'Windows_NT'" >"$(NuGetExePath)"</NuGetCommand >
46- <NuGetCommand Condition =" '$(OS)' != 'Windows_NT' " >mono --runtime=v4.0.30319 $(NuGetExePath)</NuGetCommand >
48+ <NuGetCommand Condition =" '$(OS)' != 'Windows_NT' " >$(MonoPath) --runtime=v4.0.30319 $(NuGetExePath)</NuGetCommand >
4749
4850 <PackageOutputDir Condition =" $(PackageOutputDir) == ''" >$(TargetDir.Trim('\\'))</PackageOutputDir >
4951
You can’t perform that action at this time.
0 commit comments