Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert-from-nuget failing with Error in resolution #175

Closed
ctaggart opened this issue Sep 27, 2014 · 11 comments
Closed

convert-from-nuget failing with Error in resolution #175

ctaggart opened this issue Sep 27, 2014 · 11 comments

Comments

@ctaggart
Copy link
Contributor

I'm just getting started with Packet. convert-from-nuget is failing. It appears to failing with a dependency of Microsoft.ApplicationInsights.

Paket version 0.4.0.0
Parsing paket.dependencies
paket.dependencies is up to date
Parsing paket.dependencies
Resolving packages:
  - fetching versions for Microsoft.ApplicationInsights
    - exploring Microsoft.ApplicationInsights 0.9.0-build06428
  - fetching versions for Microsoft.Bcl.Async
    - exploring Microsoft.Bcl.Async 1.0.168
  - fetching versions for Microsoft.ApplicationInsights.JavaScript
    - exploring Microsoft.ApplicationInsights.JavaScript 0.9.0-build06435
  - fetching versions for Microsoft.ApplicationInsights.Web
    - exploring Microsoft.ApplicationInsights.Web 0.9.0-build06428
    - exploring Microsoft.SqlServer.Types 11.0.0
    - exploring Microsoft.SqlServer.Types 10.50.1600.1
    - exploring Microsoft.Bcl.Build 1.0.16
    - exploring Microsoft.Bcl.Build 1.0.14
    - exploring Microsoft.Net.Http 2.2.22
    - exploring Microsoft.AspNet.WebApi.Core 5.2.0
    - exploring Microsoft.AspNet.WebApi.Client 5.2.0
    - exploring Microsoft.AspNet.WebApi.Core 5.1.2
    - exploring Microsoft.AspNet.WebApi.Client 5.1.2
    - exploring Microsoft.Net.Http 2.2.20
    - exploring Microsoft.Bcl 1.1.8
    - exploring Microsoft.Net.Http 2.2.19
    - exploring Microsoft.Bcl 1.1.7
    - exploring Microsoft.Bcl.Build 1.0.13
    - exploring Microsoft.Bcl.Build 1.0.10
    - exploring Microsoft.Bcl 1.1.6
    - exploring Microsoft.Bcl 1.1.3
    - exploring Microsoft.Bcl.Build 1.0.8
    - exploring Microsoft.Bcl.Build 1.0.7
    - exploring Microsoft.Bcl.Build 1.0.6
    - exploring Microsoft.Bcl.Build 1.0.5
    - exploring Microsoft.Bcl.Build 1.0.4
    - exploring Microsoft.Net.Http 2.2.18
    - exploring Microsoft.Net.Http 2.2.15
    - exploring Microsoft.Net.Http 2.2.13
    - exploring Microsoft.AspNet.WebApi.Core 5.1.1
    - exploring Microsoft.AspNet.WebApi.Client 5.1.1
    - exploring Microsoft.WindowsAzure.ConfigurationManager 2.0.2.0
    - exploring Microsoft.WindowsAzure.ConfigurationManager 2.0.1.0
    - exploring Microsoft.WindowsAzure.ConfigurationManager 2.0.0.0
    - exploring Microsoft.WindowsAzure.ConfigurationManager 1.8.0.0
    - exploring Newtonsoft.Json 6.0.4
    - exploring Newtonsoft.Json 6.0.3
    - exploring Newtonsoft.Json 6.0.2
    - exploring Newtonsoft.Json 6.0.1
    - exploring Newtonsoft.Json 5.0.8
    - exploring WindowsAzure.Storage 4.2.1
    - exploring Microsoft.Data.Services.Client 5.6.1
    - exploring Microsoft.Data.Services.Client 5.6.0
    - exploring Newtonsoft.Json 5.0.7
    - exploring Newtonsoft.Json 5.0.6
    - exploring Microsoft.Data.OData 5.6.1
    - exploring System.Spatial 5.6.1
    - exploring Microsoft.Data.Edm 5.6.1
    - exploring Microsoft.Data.OData 5.6.0
    - exploring System.Spatial 5.6.0
    - exploring Microsoft.Data.Edm 5.6.0
    - exploring WindowsAzure.Storage 4.2.0
    - exploring WindowsAzure.Storage 4.1.0
    - exploring WindowsAzure.Storage 4.0.1
    - exploring WindowsAzure.Storage 4.0.0
    - exploring WindowsAzure.Storage 3.2.1
    - exploring WindowsAzure.Storage 3.2.0
    - exploring WindowsAzure.Storage 3.1.0.1
    - exploring WindowsAzure.Storage 3.1.0.0
    - exploring WindowsAzure.Storage 3.0.3.0
    - exploring WindowsAzure.Storage 3.0.2.0
    - exploring WindowsAzure.Storage 3.0.1.0
    - exploring WindowsAzure.Storage 3.0.0.0
    - exploring WindowsAzure.Storage 2.1.0.4
    - exploring Newtonsoft.Json 5.0.5
    - exploring Newtonsoft.Json 5.0.4
    - exploring Newtonsoft.Json 5.0.3
    - exploring Newtonsoft.Json 5.0.2
    - exploring Newtonsoft.Json 5.0.1
    - exploring Newtonsoft.Json 4.5.11
    - exploring Microsoft.Data.OData 5.5.0
    - exploring System.Spatial 5.5.0
    - exploring Microsoft.Data.Edm 5.5.0
    - exploring Microsoft.Data.OData 5.4.0
    - exploring System.Spatial 5.4.0
    - exploring Microsoft.Data.Edm 5.4.0
    - exploring Microsoft.Data.OData 5.3.0
    - exploring System.Spatial 5.3.0
    - exploring Microsoft.Data.Edm 5.3.0
    - exploring Microsoft.Data.OData 5.2.0
    - exploring System.Spatial 5.2.0
    - exploring Microsoft.Data.Edm 5.2.0
    - exploring WindowsAzure.Storage 2.1.0.3
    - exploring WindowsAzure.Storage 2.1.0.2
    - exploring WindowsAzure.Storage 2.1.0.0-rc
    - exploring WindowsAzure.Storage 2.1.0.0
Paket failed with:

Error in resolution.
@ctaggart
Copy link
Contributor Author

I'm still getting the Error in resolution failure with ApplicationInsights removed. I have a short list of Resolved: and a long list of Still open:. Anything I can do to pinpoint the problem?

@ctaggart ctaggart changed the title convert-from-nuget failing when exploring Microsoft.ApplicationInsights dependenies convert-from-nuget failing with Error in resolution Sep 27, 2014
@forki
Copy link
Member

forki commented Sep 27, 2014

Can you copy the paket.dependencies file into this?
On Sep 27, 2014 11:50 PM, "Cameron Taggart" notifications@github.com
wrote:

I'm still getting the Error in solution failure with ApplicationInsights
removed. I have a short list of Resolved: and a long list of Still open:.
Anything I can do to pinpoint the problem?


Reply to this email directly or view it on GitHub
#175 (comment).

@ctaggart
Copy link
Contributor Author

Can I email it to you instead?

@forki
Copy link
Member

forki commented Sep 28, 2014

with 0.4.0-alpha004 we get the following error message:

image

I agree that this is not really helpful and the error message should be improved.

@forki
Copy link
Member

forki commented Sep 28, 2014

image

with alpha005. It's a bit better. I think now we need to keep track of the dependency graph.

@forki
Copy link
Member

forki commented Sep 28, 2014

alpha006:

image

would this have helped you?

@ctaggart
Copy link
Contributor Author

Thanks for improving the error message! Now, I just need to figure out how to fix it. :)

  Con't resolve:
    - Microsoft.Net.Http >= 2.2.13
       - from Microsoft.AspNet.WebApi.Client 5.1.2
 Please try to relax some conditions.

@forki
Copy link
Member

forki commented Sep 28, 2014

First you have to accept that nuget silently ignored the conflict and paket
not. ;-)

One way to solve this is by removing the explicit package requirement from
paket.dependencies.
On Sep 28, 2014 7:10 PM, "Cameron Taggart" notifications@github.com wrote:

Thanks for improving the error message! Now, I just need to figure out how
to fix it. :)

Con't resolve:
- Microsoft.Net.Http >= 2.2.13
- from Microsoft.AspNet.WebApi.Client 5.1.2
Please try to relax some conditions.


Reply to this email directly or view it on GitHub
#175 (comment).

@ctaggart
Copy link
Contributor Author

I had some coffee and think I finally understand the error. Dyfrig has a depenency on a specific version of Microsoft.Net.Http, then Microsoft.AspNet.WebApi.Client has a dependency on a newer version of Microsoft.Net.Http.

    - Microsoft.Net.Http 2.0.20710.0
       - from Dyfrig 0.7.0.44

Does Paket take into account nuget's support for different dependencies for different .NET framework versions? Our projects target .NET 4.5 and so Microsoft.AspNet.WebApi.Client uses System.Net.Http and doesn't have a dependency on Microsoft.Net.Http.

@forki
Copy link
Member

forki commented Sep 28, 2014

Is this an instance of #140?
On Sep 28, 2014 8:21 PM, "Cameron Taggart" notifications@github.com wrote:

I had some coffee and think I finally understand the error. Dyfrig
http://www.nuget.org/packages/Dyfrig/ has a depenency on a specific
version of Microsoft.Net.Http, then Microsoft.AspNet.WebApi.Client
https://www.nuget.org/packages/Microsoft.AspNet.WebApi.Client/5.1.2 has
a dependency on a newer version of Microsoft.Net.Http.

- Microsoft.Net.Http 2.0.20710.0
   - from Dyfrig 0.7.0.44

Does Paket take into account nuget's support for different dependencies
for different .NET framework versions? Our projects target .NET 4.5 and so
Microsoft.AspNet.WebApi.Client uses System.Net.Http and doesn't have a
dependency on Microsoft.Net.Http.


Reply to this email directly or view it on GitHub
#175 (comment).

@ctaggart
Copy link
Contributor Author

Yes, it is an instance of #140. Thanks for fixing the error message. Will close this issue and subscribe to that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants