Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dave de Moel 98 posts 450 karma points c-trib
    Feb 07, 2019 @ 19:40
    Dave de Moel
    0

    Can't install Umbraco via NuGet, Automapper version not found

    When trying to install Umbraco in my project via NuGet I get the following message:

    Unable to find a version of 'AutoMapper' that is compatible with 'UmbracoCms.Core 7.13.2 constraint: AutoMapper (>= 3.3.1 && < 4.0.0)'

    However, when searching AutoMapper I can install the verion without problems. Also older versions of Umbraco give me the same error but then with Newstonsoft.Json.

    Anyone an idea how to solve this?

  • David Peck 587 posts 1552 karma points c-trib
    Feb 20, 2019 @ 15:54
    David Peck
    0

    Did you resolve this? I have exactly the same error, except I get this when try to upgrade an unrelated nuget package which appears to have no dependencies.

  • David Peck 587 posts 1552 karma points c-trib
    Feb 20, 2019 @ 16:02
    David Peck
    0

    Actually I found my answer. I was trying to upgrade something that required Newtonsoft.Json 12.0.1 or higher. Umbraco supports up to Newtonsoft.Json 11.

  • Dave de Moel 98 posts 450 karma points c-trib
    Feb 20, 2019 @ 16:46
    Dave de Moel
    100

    Good that you found a solution David. I forgot to post an update here.

    I have resolved the issue. The issue for me was that I started an empty project with references to mvc and web api. Seems NuGet has problems resolving version differences when doing that. Installing Umbraco on an empty project without references worked out perfectly.

Please Sign in or register to post replies

Write your reply to:

Draft