Copied to clipboard

Flag this post as spam?

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


  • Casper Schmidt Wandahl-Liper 4 posts 24 karma points
    Mar 22, 2015 @ 11:00
    Casper Schmidt Wandahl-Liper
    0

    Error installing Umbraco 7.2.4 using NuGet

    Hi

    Recently I tried setting up my second Umbraco website (using zipfile after experiencing a lot of problems with SQLCE and the NuGet version in the first website). This was using version 7.2.2 but I have had some problems with RTE showing up as textarea. Also /umbraco would give me a blank screen when trying to access it in Firefox v.36.

    So I thought I would try doing a new install using NuGet. I created a new web (MVC) project in VS2013 and went to NuGet package manager to install UmbracoCms. This fails however so I tried looking up UmbracoCms.Core to check the dependencies:

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Mar 22, 2015 @ 16:32
    Jan Skovgaard
    0

    Hi Casper

    Sorry to hear that you're having so many issues when trying to install Umbraco - Have you been following the instructions from the documentation here ? https://our.umbraco.org/documentation/Installation/install-umbraco-with-nuget and for manual installation here https://our.umbraco.org/documentation/Installation/install-umbraco-manually

    When the RTE is missing it's usually because there are some files missing for some reason. When installing manually it's important to right click the zip file and "unblock" it before unzipping it if you're using the zip tool build in in Windows. Don't know if that could be the issue.

    Looking forward to hearing from you.

    /Jan

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Mar 23, 2015 @ 09:27
    Sebastiaan Janssen
    0

    Looks like you're trying to install Umbraco in an MVC5 site, which is not yet supported. So yep, follow the instructions in https://our.umbraco.org/documentation/Installation/install-umbraco-with-nuget and choose a MVC4 blank site to start with.

  • Tiago Braz 2 posts 23 karma points
    Apr 01, 2015 @ 19:04
    Tiago Braz
    0

    Hit this barrier too today ...

    I'm sorry to be this blunt .. but if umbraco doesn't support MVC5 it should tell in it's dependencies that it requires Microsoft.MVC >= 4.0.3... && < 6.0.0 ... as far as I know 5.0 is below 6.0 -.-'

    Fix: Install the package Microsoft.AspNet.Mvc.FixedDisplayModes .. even if they say that it's deprecated for MVC5 .. (it's deprecated, but it won't break your code... as far as I can tell), after that just install Umbraco and it will pass and install without any problem...

    I did it today, and so far everything seems to work as intended...

     

    Cheers

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Apr 02, 2015 @ 11:21
    Sebastiaan Janssen
    0

    @Tiago: we used to have that exact restriction but that does not prevent anybody from trying to install Umbraco in an MVC5 site. Try it, Install-Package UmbracoCms -Version 7.1.8 - you'll get the same or similar problems.

    We DO now support MVC5 upgrades, which is why the limitation is set up to < 6.0.0 now (in 7.1.8 the limitation was < 5.0.0 - see: https://www.nuget.org/packages/UmbracoCms.Core/7.1.8).

    So: you start with MVC4 template in VS (as documented) and then you can optionally upgrade to MVC5, see this blog post: http://umbraco.com/follow-us/blog-archive/2015/2/19/umbraco-722-and-625-released

  • Tiago Braz 2 posts 23 karma points
    Apr 06, 2015 @ 16:40
    Tiago Braz
    1

    Thanks for your reply Sebastiaan.

    I just think it's totally counter-productive that you have to start a project in MVC4 then upgrade to MVC5 in order to have umbraco working in MVC5 (without too much hassle).

    Can't we have both packages in Nuget? UmbracoCMS for MVC4 and UmbracoCMS for MVC5? Identified as such properly in their name and/or description?
    I know that we cannot prevent users to do wrong things, but if the things are properly stated and they try to do so it's they own fault for not reading :P

    The thing is, I googled for information on umbraco and MVC5, and i found the blog post you've linked. But sorry, your blog post is not clear about that issue, why? Because I dind't have a project in MVC4 .. I'm starting a brand new project in MVC5, because i want to have WebAPI2, and bundling out of the box and because your dependency says that I'm allowed to do it ...

    I've been a .NET developer for ages, and only now starting to use Umbraco (because client requirements, and because it actualy seems a very nice CMS).
    I just think that I shouldn't be forced to start a project in MVC4 then upgrade it to MVC5 every time that I want to use Umbraco.

    No hard feelings though, keep up the amazing work.

Please Sign in or register to post replies

Write your reply to:

Draft