# Nuget restore failing with version set to latest

**URL:** <https://discuss.bitrise.io/t/nuget-restore-failing-with-version-set-to-latest/13087>\
**Category:** Tooling Issues\
**Tags:** xamarin\
**Created:** [May 26, 2020, 3:52pm UTC](https://discuss.bitrise.io/t/nuget-restore-failing-with-version-set-to-latest/13087 "2020-05-26T15:52:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![freesatnaresh](https://avatars.discourse-cdn.com/v4/letter/f/ee59a6/32.png) [@freesatnaresh](https://discuss.bitrise.io/u/freesatnaresh)\
**Post date:** [May 26, 2020, 3:52pm UTC](https://discuss.bitrise.io/t/nuget-restore-failing-with-version-set-to-latest/13087/1 "2020-05-26T15:52:21Z")

</div>

Hello,

Nuget restore step failing consistently with version set to latest.

------------------------------------------------------------------------------+

| (4) nuget-restore@1.1 |  
±-----------------------------------------------------------------------------+  
| id: nuget-restore |  
| version: 1.1.1 |  
| collection: [https://github.com/bitrise-io/bitrise-steplib.git](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: go |  
| time: 2020-05-26T15:44:46Z |  
±-----------------------------------------------------------------------------+  
| |  
INFO[15:44:46] \* [OK] Step dependency (go) installed, available.  
Configs:

- XamarinSolution: Freesat/Metaphor.sln
- NuGetVersion: latest  
Downloading NuGet latest version…  
Download URL: [https://dist.nuget.org/win-x86-commandline/latest/nuget.exe](https://dist.nuget.org/win-x86-commandline/latest/nuget.exe)  
Restoring NuGet packages…  
$ /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono “/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/\_\_nuget\_\_902032454/nuget.exe” “restore” “Freesat/Metaphor.sln”  
Restore failed: fork/exec /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono: no such file or directory  
Attempt 1 failed, retrying…  
$ /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono “/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/\_\_nuget\_\_902032454/nuget.exe” “restore” “Freesat/Metaphor.sln”  
NuGet restore failed: fork/exec /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono: no such file or directory  
| |  
±–±--------------------------------------------------------------±---------+  
| x | nuget-restore@1.1 (exit code: 1) | 4.25 sec |  
±–±--------------------------------------------------------------±---------+

Any help would be appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [June 25, 2020, 3:52pm UTC](https://discuss.bitrise.io/t/nuget-restore-failing-with-version-set-to-latest/13087/2 "2020-06-25T15:52:21Z")

</div>

Closed on June 25, 2020, 3:52pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
