Copied to clipboard

Flag this post as spam?

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


  • Sten Hougaard 12 posts 84 karma points
    Sep 08, 2015 @ 14:02
    Sten Hougaard
    0

    Problem installing UmbracoCms.Core NuGet Package

    Hi,

    I am on Mac, using Xamarin Studio, trying to install Umbraco using NuGet.

    It seems that somehow in the installation of UmbracoCms.Core package a Microsoft.AspNet.Mvc 5.2.3 is installed (as this at the time of writing is the latest version?). That is a problem for current version of Umbraco (7.2.8) which is not ready for Mvc 5.

    Here is the log from the Package Console:

    > Adding UmbracoCms... Attempting to resolve dependency 'UmbracoCms.Core
    > (= 7.2.8)'. Attempting to resolve dependency 'Microsoft.AspNet.Mvc (≥
    > 4.0.30506.0 && < 6.0.0)'. Attempting to resolve dependency 'Microsoft.AspNet.WebPages (≥ 3.2.3 && < 3.3.0)'. Attempting to
    > resolve dependency 'Microsoft.Web.Infrastructure (≥ 1.0.0.0)'.
    > Attempting to resolve dependency 'Microsoft.AspNet.Razor (≥ 3.2.3 && <
    > 3.3.0)'. Attempting to resolve dependency 'Microsoft.AspNet.WebApi (≥ 4.0.30506 && < 6.0.0)'. Attempting to resolve dependency 'Microsoft.AspNet.WebApi.WebHost (≥ 4.0.20710.0)'. Attempting to
    > resolve dependency 'Microsoft.AspNet.WebApi.Core (≥ 4.0.20710.0 && <
    > 4.1)'. Attempting to resolve dependency 'Microsoft.AspNet.WebApi.Client (≥ 4.0.20710.0 && < 4.1)'. Attempting
    > to resolve dependency 'Microsoft.Net.Http (≥ 2.0.20710.0 && < 2.1)'.
    > Attempting to resolve dependency 'Newtonsoft.Json (≥ 4.5.6)'.
    > Attempting to resolve dependency 'Microsoft.AspNet.WebApi.WebHost (≥
    > 4.0.30506 && < 6.0.0)'. Attempting to resolve dependency 'Microsoft.AspNet.WebApi.Core (≥ 4.0.30506 && < 6.0.0)'. Attempting to
    > resolve dependency 'Microsoft.AspNet.WebApi.Client (≥ 4.0.30506 && <
    > 6.0.0)'. Attempting to resolve dependency 'Microsoft.AspNet.Mvc.FixedDisplayModes (≥ 1.0.1)'. Attempting to
    > resolve dependency 'Microsoft.AspNet.Mvc (≥ 4.0.20710.0 && < 4.1)'.
    > Updating 'Microsoft.AspNet.Mvc 5.2.3' to 'Microsoft.AspNet.Mvc
    > 4.0.20710.0' failed. Unable to find a version of 'UmbracoCms.Core' that is compatible with 'Microsoft.AspNet.Mvc 4.0.20710.0'.
    

    I have tried to start from different project types, including Mvc and Empty project. I have tried to manually remove any Mvc packages and references, but seem to end up with the same result.

    Anyone out there who can help?

    /Sten

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies