Copied to clipboard

Flag this post as spam?

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


  • Mark Evans 86 posts 116 karma points
    Nov 25, 2014 @ 10:52
    Mark Evans
    0

    problem installing via nuget

    i have recently installed VS 2013 update 4, and on attempting to install umbraco via nuget i get this error....

    PM> Install-Package UmbracoCms 
    Attempting to resolve dependency 'UmbracoCms.Core (= 7.1.8)'.
    Attempting to resolve dependency 'Microsoft.AspNet.Mvc (≥ 4.0.30506.0 && < 5.0.0)'.
    Attempting to resolve dependency 'Microsoft.AspNet.WebPages (≥ 2.0.20710.0)'.
    Attempting to resolve dependency 'Microsoft.Web.Infrastructure (≥ 1.0.0.0)'.
    Attempting to resolve dependency 'Microsoft.AspNet.Razor (≥ 2.0.20710.0 && < 2.1)'.
    Attempting to resolve dependency 'Microsoft.AspNet.WebApi (≥ 4.0.30506 && < 5.0.0)'.
    Attempting to resolve dependency 'Microsoft.AspNet.WebApi.WebHost (≥ 4.0.20710.0)'.
    Attempting to resolve dependency 'Microsoft.AspNet.WebApi.Core (≥ 5.2.0 && < 5.3.0)'.
    Attempting to resolve dependency 'Microsoft.AspNet.WebApi.Client (≥ 5.2.0)'.
    Attempting to resolve dependency 'Newtonsoft.Json (≥ 4.5.11)'.
    Attempting to resolve dependency 'Microsoft.AspNet.WebApi.WebHost (≥ 4.0.30506 && < 5.0.0)'.
    Install-Package : Already referencing a newer version of 'Microsoft.AspNet.WebApi.WebHost'.
    At line:1 char:1
    + Install-Package UmbracoCms
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~
       
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
       
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

    I havent been able to find a resolution to this searching online....

    has anyone else had this issue? anyone know a workaround.... its worked fine with VS2012 in the past.....

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 25, 2014 @ 10:55
    Jan Skovgaard
    0

    Hi Mark

    I saw Jesper Ordrup had a similar issue the other day - Perhaps his pointers can help? http://our.umbraco.org/forum/umbraco-7/using-umbraco-7/59179-Error-When-installing-Umbraco-using-nuget-%28after-vs2013-update-4%29

    /Jan

  • Ayo Adesina 445 posts 1059 karma points
    Nov 25, 2014 @ 11:24
    Ayo Adesina
    0

    I had this problem the other day, it turns out the project type I selected in VS was wrong. Try using a blank MVC 4 Application, then running the Nuget command.

    Good luck Ayo

  • Mark Evans 86 posts 116 karma points
    Nov 25, 2014 @ 11:35
    Mark Evans
    0

    thanks

    initially it was a "full" MVC site then i retried with an "empty" project in VS2013 but still had this issue trying to install umbraco.......

    i can install other options ok, such as structuremap for example, so it doesnt seem a global nuget issue...

  • Mark Evans 86 posts 116 karma points
    Nov 25, 2014 @ 11:37
    Mark Evans
    0

    i will look at those options you mentioned... though i did run the VS updates when this occurred a few days ago, though nuget wasnt one of the updates required...

  • Ayo Adesina 445 posts 1059 karma points
    Nov 25, 2014 @ 17:55
    Ayo Adesina
    0

    Like I said I had this problem a few times my self... and it was always the project type. Open a blank solution add projects of different types and experiment with the correct one.

    Thanks Ayo

  • 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