You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Latest RC2 packages do not install in latest UWP builds #4802
The errors are currently in our dependencies, so there is likely nothing to do on our side other than test and report issues to the appropriate teams. I've reported the current issue with the System.AppContext package to .NET Core folks.
System.AppContext 4.1.0-rc2-23826 provides a compile-time reference assembly for System.AppContext on UAP,Version=v10.0, but there is no run-time assembly compatible with win10-arm.
At line:1 char:1
install-package Microsoft.EntityFrameworkCore.Sqlite -pre
Figured as much, just opened this to track making sure everything works on our side once things stabilize - the last few releases we've had to do additional work in our packages once everything under us is working.
That's happening because you're upgrading all those packages which have been split between ref/lib without bringing in the lineup that pulls in the lib packages. I'd expect the latest 5.2.0 rc3 UWP meta-package to work.
Alternatively, just bringing in the MS.NETCore.Platforms latest may solve the problem, but I believe you'll hit a couple other issues in the RC2 packages for UWP that have only been fixed in the RC3 branch (eg: AppContext, Linq.Expressions).
That previous comment was about trying to use the latest packages in UWP. I thought we had switched gears to use stable dependencies for UWP.
I would have expected you to do something like the following, like was done in RC1:
dependencyGroup TFM=uap10.0
...stable dependencies...
dependencyGroup TFM=netstandardX.Y
...rc2 dependencies...
Yes good point. I should have been more clear. Allow me to clarify.
Approach 1: get EF working with RC2 .NET Core. I think it's clear at this point that approach isn't going to work. My comment here #4802 (comment) was regarding that first approach.
Approach 2: cross-compile to lower dependencies for UWP. My comment #4802 (comment) was regarding cross-compiling to stable packages.
Going forward: I'm working on approach 2 now. Status: cross-compiling isn't working (yet).
Activity
davidfowl commentedon Mar 15, 2016
/cc @ericstj is doing some work in this area
ericstj commentedon Mar 15, 2016
Yeah, we know latest is broken. UWP should only be using the stable meta-package until that work is done.
rowanmiller commentedon Mar 15, 2016
Figured as much, just opened this to track making sure everything works on our side once things stabilize - the last few releases we've had to do additional work in our packages once everything under us is working.
natemcmaster commentedon Mar 23, 2016
EF doesn't even work against the stable meta-package either. @ericstj What version of Ms.NETCore.UWP should we ensure works for RC2?
natemcmaster commentedon Apr 4, 2016
No update yet. Still blocked on packaging issues in .NET Core (using rc2 build 23931).
natemcmaster commentedon Apr 7, 2016
Can install EF.SQLite now with Ms.NetCore.UWP 5.2.0-rc2-*, but UWP is still broken. Blocked on https://github.com/dotnet/corefx/issues/7582
Still cannot install with Ns.NetCore.UWP 5.1.0
natemcmaster commentedon Apr 7, 2016
Are we intentionally leaving out runtime assemblies for UWP in RC2 from these BCL libraries? Or is this nuget installer error?
Using rc2-23931, the following BCL nupkgs are missing runtime assemblies for UWP, which causes installing EF to fail against UWP 5.1.0
System.AppContext System.Collections System.Diagnostics.Debug System.Diagnostics.Tracing System.Globalization System.IO System.IO.FileSystem System.Reflection System.Reflection.Emit.ILGeneration System.Reflection.Extensions System.Reflection.Primitives System.Resources.ResourceManager System.Runtime System.Runtime.Extensions System.Runtime.Handles System.Runtime.InteropServices System.Text.Encoding System.Threading.Tasksericstj commentedon Apr 7, 2016
That's happening because you're upgrading all those packages which have been split between ref/lib without bringing in the lineup that pulls in the lib packages. I'd expect the latest 5.2.0 rc3 UWP meta-package to work.
ericstj commentedon Apr 7, 2016
Alternatively, just bringing in the MS.NETCore.Platforms latest may solve the problem, but I believe you'll hit a couple other issues in the RC2 packages for UWP that have only been fixed in the RC3 branch (eg: AppContext, Linq.Expressions).
8 remaining items
ericstj commentedon Apr 8, 2016
That previous comment was about trying to use the latest packages in UWP. I thought we had switched gears to use stable dependencies for UWP.
I would have expected you to do something like the following, like was done in RC1:
dependencyGroup TFM=uap10.0
...stable dependencies...
dependencyGroup TFM=netstandardX.Y
...rc2 dependencies...
natemcmaster commentedon Apr 8, 2016
Yes good point. I should have been more clear. Allow me to clarify.
Approach 1: get EF working with RC2 .NET Core. I think it's clear at this point that approach isn't going to work. My comment here #4802 (comment) was regarding that first approach.
Approach 2: cross-compile to lower dependencies for UWP. My comment #4802 (comment) was regarding cross-compiling to stable packages.
Going forward: I'm working on approach 2 now. Status: cross-compiling isn't working (yet).
natemcmaster commentedon Apr 11, 2016
Cross compiling to fix this issue. See PR #5021
natemcmaster commentedon Apr 12, 2016
Fixed #5021
divega commentedon Apr 12, 2016
🎉
Eilon commentedon Apr 12, 2016
Mark as Done?
natemcmaster commentedon Apr 12, 2016
Marked.