Skip to content

Need to remove the dependency to CommonServiceLocator package #53

Open

Description

@carldebilly

Bug Report

Current behavior

Right now there's a strong dependency to CommonServiceLocator package defined
in the csproj:

https://github.com/nventive/Uno.Core/blob/5aecd4909faeacb522fb303cb100c9de14eabb06/src/Uno.Core/Uno.Core.csproj#L34

This dependency can conflict with higher level frameworks implementing the CommonServiceLocator of a more recent version.

Since Uno.Core is forcing a pretty old version, it's expected those conflicts can occurs.

Expected behavior

The code should be refactored to completely remove this dependency.

Activity

  1. MakanWG commented on Feb 10, 2020

    @MakanWG
    Contributor

    Just had the issue after referencing the latest version of MVVMLight which uses CommonServiceLocator 2.0.5 while Uno.Core still uses 1.3.0.
    I downgraded MVVMLight to make it work. Is this the recommended solution until this item is adressed ? @MatFillion

  2. carldebilly commented on Feb 10, 2020

    @carldebilly
    MemberAuthor

    @MakanWG This reference could be removed totally. I think it's used for logging, but we can (and should) use something else for that.

  3. jeromelaban commented on Feb 11, 2020

    @jeromelaban
    Member

    It can be replaced, but it will make for a binary breaking change. We'll be doing a set of breaking changes like those along with the changes in AndroidX (which is going to force a whole set of other breaking changes)

  4. weitzhandler commented on Apr 24, 2020

    @weitzhandler
    Member

    Related: #69.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions