I'm having problems with one of the latest paket binaries (1.3.8). It seems that 0.4.2 doesn't show those problems.
- BUG1 and BUG2 may be inappropriate usages of paket or bugs (I'm not sure).
- WEBAPI fixes the problem (encountered by BUG1 and BUG2) by clearing paket.dependencies file.
- BUG3 scenario seems to be a bug.
3a. SANITYCHECK confirms that Newtonsoft.Json is available on the internal feed.
Unfortuantely I am not able to send you a repro because of the internal feed involved.
BUG1
Given:
paket.references EMPTY
paket.dependencies with one line (source https://nuget.org/api/v2)
paket.lock EMPTY
When:
paket add nuget Microsoft.AspNet.WebApi project PaketSandbox
Then:
Paket version 1.3.8.0
Adding Microsoft.AspNet.WebApi to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Resolving packages:
Paket failed with:
Could not find versions for package Microsoft.AspNet.WebApi in any of the sources in [].
BUG2
Given:
paket.references EMPTY
paket.dependencies with one line (source https://nuget.org/api/v2)
paket.lock ABSENT
When:
paket add nuget Microsoft.AspNet.WebApi project PaketSandbox
Then:
Paket version 1.3.8.0
Adding Microsoft.AspNet.WebApi to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Resolving packages:
Paket failed with:
Could not find versions for package Microsoft.AspNet.WebApi in any of the sources in [].
WEBAPI
Given:
paket.references EMPTY
paket.dependencies EMPTY
paket.lock EMPTY
When:
paket add nuget Microsoft.AspNet.WebApi project PaketSandbox
Then:
Paket version 1.3.8.0
Adding Microsoft.AspNet.WebApi to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Resolving packages:
- Microsoft.AspNet.WebApi 5.2.3
- Microsoft.AspNet.WebApi.WebHost 5.2.3
- Microsoft.AspNet.WebApi.Core 5.2.3
- Microsoft.AspNet.WebApi.Client 5.2.3
- Newtonsoft.Json 6.0.8
- Microsoft.Net.Http 2.2.29
- Microsoft.Bcl 1.1.10
- Microsoft.Bcl.Build 1.0.21
Locked version resolutions written to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.lock
Dependencies files saved to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Adding Microsoft.AspNet.WebApi to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\PaketSandbox\paket.references
References file saved to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\PaketSandbox\paket.references
4 seconds - ready.
BUG3
Given:
- WEBAPI performed successfully
- Modify paket.dependencies so it looks like this:
source http://internalfeed/NugetWebFeed/nuget //Add this line (internalfeed contains Newtonsoft.Json)
nuget log4net 1.2.0 //Add this line (internalfeed contains log4net)
source https://nuget.org/api/v2 //Created by WEBAPI
nuget Microsoft.AspNet.WebApi //Created by WEBAPI
When:
paket add nuget log4net project PaketSandbox
Then:
Paket version 1.3.8.0
C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies contains package log4net already. ==> Ignored
Resolving packages:
- Newtonsoft.Json 6.0.8
Paket failed with:
Couldn't get package details for package Newtonsoft.Json on any of ["http://internalfeed/NugetWebFeed/nuget"].
SANITYCHECK
Given:
paket.references EMPTY
paket.lock EMPTY
paket.dependencies:
source http://internalfeed/NugetWebFeed/nuget //(feed contains Newtonsoft.Json)
nuget Newtonsoft.Json
When:
paket add nuget Newtonsoft.Json project PaketSandbox
Then:
Paket version 1.3.8.0
C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies contains package Newtonsoft.Json already. ==> Ignored
Resolving packages:
- Newtonsoft.Json 6.0.6
Locked version resolutions written to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.lock
Dependencies files saved to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Adding Newtonsoft.Json to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\PaketSandbox\paket.references
References file saved to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\PaketSandbox\paket.references
Newtonsoft.Json 6.0.6 unzipped to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\packages\Newtonsoft.Json
1 second - ready.
paket.lock:
NUGET
remote: http://internalfeed/NugetWebFeed/nuget
specs:
Newtonsoft.Json (6.0.6)
I'm having problems with one of the latest paket binaries (1.3.8). It seems that 0.4.2 doesn't show those problems.
3a. SANITYCHECK confirms that Newtonsoft.Json is available on the internal feed.
Unfortuantely I am not able to send you a repro because of the internal feed involved.
BUG1
Given:
paket.references EMPTY
paket.dependencies with one line (source https://nuget.org/api/v2)
paket.lock EMPTY
When:
paket add nuget Microsoft.AspNet.WebApi project PaketSandbox
Then:
Paket version 1.3.8.0
Adding Microsoft.AspNet.WebApi to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Resolving packages:
Paket failed with:
Could not find versions for package Microsoft.AspNet.WebApi in any of the sources in [].
BUG2
Given:
paket.references EMPTY
paket.dependencies with one line (source https://nuget.org/api/v2)
paket.lock ABSENT
When:
paket add nuget Microsoft.AspNet.WebApi project PaketSandbox
Then:
Paket version 1.3.8.0
Adding Microsoft.AspNet.WebApi to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Resolving packages:
Paket failed with:
Could not find versions for package Microsoft.AspNet.WebApi in any of the sources in [].
WEBAPI
Given:
paket.references EMPTY
paket.dependencies EMPTY
paket.lock EMPTY
When:
paket add nuget Microsoft.AspNet.WebApi project PaketSandbox
Then:
Paket version 1.3.8.0
Adding Microsoft.AspNet.WebApi to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Resolving packages:
Locked version resolutions written to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.lock
Dependencies files saved to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Adding Microsoft.AspNet.WebApi to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\PaketSandbox\paket.references
References file saved to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\PaketSandbox\paket.references
4 seconds - ready.
BUG3
Given:
source http://internalfeed/NugetWebFeed/nuget //Add this line (internalfeed contains Newtonsoft.Json)
nuget log4net 1.2.0 //Add this line (internalfeed contains log4net)
source https://nuget.org/api/v2 //Created by WEBAPI
nuget Microsoft.AspNet.WebApi //Created by WEBAPI
When:
paket add nuget log4net project PaketSandbox
Then:
Paket version 1.3.8.0
C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies contains package log4net already. ==> Ignored
Resolving packages:
Paket failed with:
Couldn't get package details for package Newtonsoft.Json on any of ["http://internalfeed/NugetWebFeed/nuget"].
SANITYCHECK
Given:
paket.references EMPTY
paket.lock EMPTY
paket.dependencies:
source http://internalfeed/NugetWebFeed/nuget //(feed contains Newtonsoft.Json)
nuget Newtonsoft.Json
When:
paket add nuget Newtonsoft.Json project PaketSandbox
Then:
Paket version 1.3.8.0
C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies contains package Newtonsoft.Json already. ==> Ignored
Resolving packages:
Locked version resolutions written to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.lock
Dependencies files saved to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\paket.dependencies
Adding Newtonsoft.Json to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\PaketSandbox\paket.references
References file saved to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\PaketSandbox\paket.references
Newtonsoft.Json 6.0.6 unzipped to C:\Users\user\Documents\Visual Studio 2013\Projects\PaketSandbox\packages\Newtonsoft.Json
1 second - ready.
paket.lock:
NUGET
remote: http://internalfeed/NugetWebFeed/nuget
specs:
Newtonsoft.Json (6.0.6)