-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
I was hitting an issue trying to look at the 1.x branch and was unable to build.
C:\Code\elasticsearch-net\.paket\paket.targets(36,5): error MSB3073: The command ""C:\Code\elasticsearch-net\.paket\paket.exe" restore --references-files "C:\Code\elasticsearch-net\src\Tests\Nest.Tests.Unit\paket.references"" exited with code 1.
========== Rebuild All: 1 succeeded, 3 failed, 0 skipped ==========
Investigating closer I found this
C:\Code\elasticsearch-net\.paket>paket restore --references-files "C:\Code\elasticsearch-net\src\Tests\Nest.Tests.Unit\paket.references
Paket version 0.23.1.0
found: C:\Code\elasticsearch-net\paket.dependencies
Something went wrong with the download of Microsoft.CSharp 4.0.1 - automatic retry with --force.
Something went wrong with the download of Newtonsoft.Json 9.0.1 - automatic retry with --force.
Something went wrong with the download of System.Collections 4.0.11 - automatic retry with --force.
....Then with --force..
[4:36]
found: C:\Code\elasticsearch-net\paket.dependencies
Downloading Microsoft.NETCore.Platforms 1.0.1 to C:\Users\blake\AppData\Local\NuGet\Cache\Microsoft.NETCore.Platforms.1.0.1.nupkg
Downloading FakeItEasy 1.18 to C:\Users\blake\AppData\Local\NuGet\Cache\FakeItEasy.1.18.0.nupkg
Downloading FluentAssertions 2.2 to C:\Users\blake\AppData\Local\NuGet\Cache\FluentAssertions.2.2.0.nupkg
Downloading Microsoft.NETCore.Targets 1.0.1 to C:\Users\blake\AppData\Local\NuGet\Cache\Microsoft.NETCore.Targets.1.0.1.nupkg
Downloading AutoPoco 1.0 to C:\Users\blake\AppData\Local\NuGet\Cache\AutoPoco.1.0.0.nupkg
Downloading Moq 4.2.1312.1622 to C:\Users\blake\AppData\Local\NuGet\Cache\Moq.4.2.1312.1622.nupkg
Downloading NUnit 2.6.4 to C:\Users\blake\AppData\Local\NuGet\Cache\NUnit.2.6.4.nupkg
Microsoft.NETCore.Platforms 1.0.1 unzipped to C:\Code\elasticsearch-net\packages\Microsoft.NETCore.Platforms
AutoPoco 1.0 unzipped to C:\Code\elasticsearch-net\packages\AutoPoco
Moq 4.2.1312.1622 unzipped to C:\Code\elasticsearch-net\packages\Moq
Microsoft.NETCore.Targets 1.0.1 unzipped to C:\Code\elasticsearch-net\packages\Microsoft.NETCore.Targets
NUnit 2.6.4 unzipped to C:\Code\elasticsearch-net\packages\NUnit
FluentAssertions 2.2 unzipped to C:\Code\elasticsearch-net\packages\FluentAssertions
FakeItEasy 1.18 unzipped to C:\Code\elasticsearch-net\packages\FakeItEasy
Paket failed with:
Input string was not in a correct format.
Comes to find out you are using a version of paket from early last year (https://github.com/fsprojects/Paket/releases/tag/0.23.1).
Updating paket to https://github.com/fsprojects/Paket/releases/tag/3.19.6 seemed to fix the issue
:\Code\elasticsearch-net\.paket>paket restore --references-files "C:\Code\elasticsearch-net\src\Tests\Nest.Tests.Unit\paket.references
Paket version 3.19.6.0
paket.dependencies and paket.lock are out of sync in C:\Code\elasticsearch-net.
Please run 'paket install' or 'paket update' to recompute the paket.lock file.
Downloading Microsoft.CSharp 4.0.1
Downloading Newtonsoft.Json 9.0.1
Downloading System.Collections 4.0.11
Downloading System.Diagnostics.Debug 4.0.11
Downloading System.Diagnostics.Tools 4.0.1
Downloading System.Dynamic.Runtime 4.0.11
Downloading System.Globalization 4.0.11
Downloading System.IO 4.1
Downloading System.IO.FileSystem 4.0.1
Downloading System.IO.FileSystem.Primitives 4.0.1
Downloading System.Linq 4.1
Metadata
Metadata
Assignees
Labels
No labels