Skip to content

Latest RC2 packages do not install in latest UWP builds #4802

Closed

Description

@rowanmiller

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

CategoryInfo : NotSpecified: (:) [Install-Package], Exception
FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Activity

  1. davidfowl commented on Mar 15, 2016

    @davidfowl
    Member

    /cc @ericstj is doing some work in this area

  2. ericstj commented on Mar 15, 2016

    @ericstj
    Member

    Yeah, we know latest is broken. UWP should only be using the stable meta-package until that work is done.

  3. rowanmiller commented on Mar 15, 2016

    @rowanmiller
    ContributorAuthor

    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.

  4. added this to the milestone on Mar 22, 2016
  5. natemcmaster commented on Mar 23, 2016

    @natemcmaster
    Contributor

    UWP should only be using the stable meta-package until that work is done.

    EF doesn't even work against the stable meta-package either. @ericstj What version of Ms.NETCore.UWP should we ensure works for RC2?

  6. natemcmaster commented on Apr 4, 2016

    @natemcmaster
    Contributor

    No update yet. Still blocked on packaging issues in .NET Core (using rc2 build 23931).

  7. natemcmaster commented on Apr 7, 2016

    @natemcmaster
    Contributor

    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

  8. natemcmaster commented on Apr 7, 2016

    @natemcmaster
    Contributor

    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.Tasks
  9. ericstj commented on Apr 7, 2016

    @ericstj
    Member

    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.

  10. ericstj commented on Apr 7, 2016

    @ericstj
    Member

    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).

  11. 8 remaining items

  12. ericstj commented on Apr 8, 2016

    @ericstj
    Member

    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...

  13. natemcmaster commented on Apr 8, 2016

    @natemcmaster
    Contributor

    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).

  14. natemcmaster commented on Apr 11, 2016

    @natemcmaster
    Contributor

    Cross compiling to fix this issue. See PR #5021

  15. natemcmaster commented on Apr 12, 2016

    @natemcmaster
    Contributor

    Fixed #5021

  16. divega commented on Apr 12, 2016

    @divega
    Contributor

    🎉

  17. Eilon commented on Apr 12, 2016

    @Eilon
    Contributor

    Mark as Done?

  18. natemcmaster commented on Apr 12, 2016

    @natemcmaster
    Contributor

    Marked.

  19. modified the milestones: , 1.0.0 on Oct 15, 2022
  20. added theissue type on Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions