Copied to clipboard

Flag this post as spam?

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


  • Ryios 122 posts 263 karma points
    Aug 14, 2015 @ 15:08
    Ryios
    0

    Nuget Error Install UmbracoCms.Core in Visual Studio 2015

    In Visual Studio 2015 I am having an issue with nuget resolving the AutoMapper depedency in Umbraco 7.2.8..

    Package Manager Console: Install-Package UmbracoCms.Core -Version 7.2.8

    Severity Code Description Project File Line Error Unable to find a version of 'AutoMapper' that is compatible with 'UmbracoCms.Core 7.2.8 constraint: AutoMapper (≥ 3.0.0 && < 4.0.0)'. 0

    Now, if I understand nuget version ranges properly that means AutoMapper has to be version 3.0.0 or greater than 3.0.0 and less than version 4.0.0.

    AutoMapper is available on nuget.org for Version 3.3.1 and should satisfy that condition. However I get the error still.

    So I manually installed AutoMapper 3.3.1

    Install-Package AutoMapper -Version 3.3.1

    I still get this error.

    The thing is though is it only happens sometimes, For example I am trying to add UmbracoCms.Core to a unit test project in visual studio 2015 and I get the error.

    However in my WebApplication it installed fine.

    ISSUE: U4-6964

  • Ryios 122 posts 263 karma points
    Aug 14, 2015 @ 16:12
    Ryios
    1

    I believe this was caused by me manually installing the latest version of newtonsoft.json to the latest version, despite the automapper error.

    When I uninstalled newtonsoft.json, UmbracoCms.Core installed without any issues.

Please Sign in or register to post replies

Write your reply to:

Draft