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 update fails due to 'win50' framework #921
Comments
|
If you Google for |
It seems there is no such package!? https://www.nuget.org/packages?q=System.Runtime.WindowsRuntime |
The System.Runtime.WindowsRuntime package can be found in the Asp.Net vNext myget feed: The latest version, 4.0.10-beta-23109, has three frameworks:
|
Thanks, that fixes my problem. I've added a second source statement for that feed:
and now the Update works. However, meanwhile I also sent a message to the 'System.Net.Http 4.0.0-beta-23019' package owner about the problem. He did not tell me about this other feed, but said: Windows Azure Storage 4.4.1-preview only depends on System.Net.Http-beta-23019 when targeting ASP.NET Core 5.0. You are not targeting ASP.NET Core 5.0 (aka DNXCore50) so I wouldn’t expect it to even try to install the System.Net.Http package. Is Paket doing unnecessary work traversing dependencies that are not required? |
wow. this is retrieving A LOT of dependencies. I need to investigate this a bit. |
Beware, the new "dotnet" moniker has a completely different meaning than "net". It is not an alias! |
@cdrnet: ok removed that.
no. since paket is trying to install for all possible frameworks it also needs to scan for |
I already do that:
so Paket should only be traversing .NET 4.5.1 dependencies, right? Just noticed that in your example of a global http://fsprojects.github.io/Paket/dependencies-file.html#Framework-restrictions Mine comes afterwards. Is that OK? |
yes.
leads to:
and
leads to:
|
mhm. |
It looking much better now:
and Paket is not looking at the dnx packages any more. So you don't need |
Thank you. |
My
paket.dependencies
file contains:nuget WindowsAzure.Storage >= 4.4 prerelease
This used to work fine up until about 2 weeks ago. Now when I try to update packages, I get a failure:
Couldn't retrieve versions for System.Runtime.WindowsRuntime
I am using .NET 4.5.1 on Windows 8.1, and I think that package is for WinRT, so it should not be required.
I tried
paket outdated --verbose
and the output shows:Trying to resolve System.Runtime.WindowsRuntime >= 4.0.10-beta-23019 (from System.Net.Http 4.0.0-beta-23019)
Just before that line, the output shows the dependencies for
System.Net.Http 4.0.0-beta-23019
:In the middle of all this is:
System.Runtime.WindowsRuntime:4.0.10-beta-23019:win50
Looking at your FrameworkDetection code, it seems that you do not look for
win50
. Perhaps this is a new framework?The text was updated successfully, but these errors were encountered: