-
Notifications
You must be signed in to change notification settings - Fork 526
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
Paket generating package version outside of dependency constraint #2976
Comments
Looks like nuget is doing something weird and not paket related. Can you
please create a minimal repro and upload as zip? I will then verify and
check with nuget team
Am 11.01.2018 00:34 schrieb "Peter Shrosbree" <[email protected]>:
Description
When executing msbuild /t:Restore I get the the following error:
C:\src\appcenter.petshr\analytics-eventhubreader\src\
svc\EventHubReader.Watchdog\EventHubReader.Watchdog.csproj : error NU1608:
Detected package version outside of dependency constraint:
Microsoft.Data.Services.Client 5.8.2 requires Microsoft.Data.OData (=
5.8.2) but version Microsoft.Data.OData 5.8.3 was resolved.
[C:\src\appcenter.petshr\analytics-eventhubreader\
analytics-eventhubreader.sln]
But Paket seems to resolving Microsoft.Data.Services.Client 5.8.3
λ .\.paket\paket.exe why Microsoft.Data.Services.Client --details
Paket version 5.129.2
NuGet Microsoft.Data.Services.Client - 5.8.3 is a transitive dependency.
It is part of following dependency chains:
-> WindowsAzure.Storage - 8.7
-> Microsoft.Data.Services.Client - 5.8.3 - (>= 5.8.2) (|| (==
net461) (&& (== netstandard2.0) (>= net45)))
λ .\.paket\paket.exe why Microsoft.Data.OData --details
Paket version 5.129.2
NuGet Microsoft.Data.OData - 5.8.3 is a transitive dependency.
It is part of following dependency chains:
-> WindowsAzure.Storage - 8.7
-> Microsoft.Data.OData - 5.8.3 - (>= 5.8.2)
-> WindowsAzure.Storage - 8.7
-> Microsoft.Data.Services.Client - 5.8.3
-> Microsoft.Data.OData - 5.8.3 - (5.8.3)
Nothing I can see is resolving Microsoft.Data.OData 5.8.2.
What is going on here?
paket.dependencies contains this:
framework: net461, netstandard2.0
source https://api.nuget.org/v3/index.json
source https://mseng.pkgs.visualstudio.com/_packaging/Analytics/nuget/v3/index.json
nuget AMQPNetLite
nuget App.Metrics.Extensions.Reporting.InfluxDB
nuget App.Metrics.Formatters.InfluxDB
nuget Autofac.Extensions.DependencyInjection
nuget Autofac.ServiceFabric
nuget AutoFixture.AutoNSubstitute
nuget AutoFixture.Xunit2
nuget Bond.Compiler.CSharp
clitool dotnet-xunit
nuget FluentAssertions
nuget Humanizer.Core
nuget JetBrains.Annotations
nuget LanguageExt.Core
nuget MathNet.Numerics.Signed
nuget Microsoft.Azure.KeyVault
nuget Microsoft.Azure.Management.Compute
nuget Microsoft.Azure.Management.Dns >= 2.0.0-preview
nuget Microsoft.Azure.Management.EventHub
nuget Microsoft.Azure.Management.ResourceManager >= 1.6.0-preview
nuget Microsoft.Azure.Management.Scheduler
nuget Microsoft.Azure.Management.ServiceBus
nuget Microsoft.Azure.Management.ServiceFabric >= 1.0.1-preview
nuget Microsoft.Azure.Management.Sql >= 1.10.0-preview
nuget Microsoft.Azure.Management.Storage >= 7.1.0-preview
nuget Microsoft.Azure.Management.StreamAnalytics
nuget Microsoft.Azure.Management.TrafficManager >= 2.3.0-preview
nuget Microsoft.Azure.Management.WebSites >= 1.7.1-preview
nuget Microsoft.Azure.ServiceBus
nuget Microsoft.Cloud.InstrumentationFramework == 3.0.6.43-preview
nuget Microsoft.Hadoop.Avro2
nuget Microsoft.IdentityModel.Clients.ActiveDirectory
nuget Microsoft.IO.RecyclableMemoryStream
nuget Microsoft.NET.Test.Sdk
nuget Microsoft.Reactive.Testing
nuget Microsoft.VisualStudio.Azure.Fabric.MSBuild 1.6.3 version_in_path: true
nuget Nerdbank.GitVersioning
nuget Polly
nuget Serilog.Extensions.Logging
nuget Serilog.Sinks.Seq
nuget System.Interactive.Async.Providers
nuget System.Interactive.Providers
nuget System.Reactive.Providers
nuget System.Threading.Tasks.Dataflow
nuget WindowsAzure.Storage
nuget xunit
nuget xunit.runner.visualstudio version_in_path: true
Repro steps
Please provide the steps required to reproduce the problem
1.
Step A
2.
Step B
If possible then please create a git repository with a repro sample or
attach a zip to the issue.
Expected behavior
Please provide a description of the behavior you expect.
Actual behavior
Please provide a description of the actual behavior you observe.
Known workarounds
Please provide a description of any known workarounds.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2976>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNGjmjYEUjg0VZj_TgkyOzy24ZzUvks5tJUkBgaJpZM4RaGvW>
.
|
@forki I have attached a repro that output the following from
Note, that this contains a |
this thing is HUUUUGE - It will take a long time for me to analyze that!? |
Fair enough. I'll trim it, but it may have to wait until end of day. |
@forki I have attached a smaller repro |
wow I have seriously no idea where nuget is drawing Microsoft.Data.Services.Client 5.8.2 from |
BUT: if you add Microsoft.Data.Services.Client to paket.references in EventHubReader.Factory and AppCenter.EventHubs it works as workaround |
I think this is actually a bug in dotnet cli - but need to investigate further |
Thanks @forki . I have been using that workaround. I'd be interested to know if you find anything. |
Yes will dig deeper tomorrow. I have very weird feelings about this case.
Am 18.01.2018 20:03 schrieb "Peter Shrosbree" <[email protected]>:
… Thanks @forki <https://github.com/forki> . I have been using that
workaround. I'd be interested to know if you find anything.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2976 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNH4rMjnFr2YfA3OAc-xdqgTr6faKks5tL5WfgaJpZM4RaGvW>
.
|
@pshrosbree I finally found time to report it: NuGet/Home#6563 |
Description
When executing
msbuild /t:Restore
I get the the following error:But Paket seems to resolving
Microsoft.Data.Services.Client 5.8.3
Nothing I can see is resolving
Microsoft.Data.OData 5.8.2
.What is going on here?
paket.dependencies
contains this:Repro steps
Please provide the steps required to reproduce the problem
Step A
Step B
If possible then please create a git repository with a repro sample or attach a zip to the issue.
Expected behavior
Please provide a description of the behavior you expect.
Actual behavior
Please provide a description of the actual behavior you observe.
Known workarounds
Please provide a description of any known workarounds.
The text was updated successfully, but these errors were encountered: