So I'm not certain if I'm posting in the right place, however I've been unable to install the Umbraco CMS via nuget into a new MVC 5 project in Visual Studio.
It is trying to install an old version of MVC 4, but it fails saying that there is no Umbraocms.Core version that is compatible with this version of MVC.
Exact error message:
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'.
A little bit of investigation leads me to this dependency:
Microsoft ASP.NET MVC Fixed DisplayModes,
I believe that this dependency should no longer be required as it is officially depreciated with MVC 5. Has anyone else had this issue?
Seems like it's at least due in v8 according to the tasks mentioned here https://our.umbraco.org/contribute/releases/800 - But think I saw somewhere that this has also been ported to the 7.2.5 branch...but can't quite remember it unfortunately - But feeling confident that MVC5 support will be added sooner.
Yeah, seems like a branch that has not been merged into core yet. The fork you're looking on belongs to Shannon and does not necessarily reflect what's in the Umbraco core.
Glad to hear that you're having a good time with Umbraco :)
I've just run into an issue with MVC 5.2.3 where returning CurrentUmbracoPage() interferes with macro rendering on the page. I've had to downgrade to MVC 4 for it to work properly. Even though MVC 5 may work in the most recent umbraco, I'm not sure it is officially supported yet.
MVC 5, Umbraco Nuget Install
Hi,
So I'm not certain if I'm posting in the right place, however I've been unable to install the Umbraco CMS via nuget into a new MVC 5 project in Visual Studio.
It is trying to install an old version of MVC 4, but it fails saying that there is no Umbraocms.Core version that is compatible with this version of MVC.
Exact error message:
A little bit of investigation leads me to this dependency:
Microsoft ASP.NET MVC Fixed DisplayModes,
I believe that this dependency should no longer be required as it is officially depreciated with MVC 5. Has anyone else had this issue?
https://www.nuget.org/packages/Microsoft.AspNet.Mvc.FixedDisplayModes/1.0.1 (Link to the package)
The following is the full install log for the UmbracoCMS.Core nuget:
Hi Nik
I don't think that Umbraco 7 is yet compatible with MVC 5 - Can't remember, which release it's been scheduled for.
/Jan
Hi again
Seems like it's at least due in v8 according to the tasks mentioned here https://our.umbraco.org/contribute/releases/800 - But think I saw somewhere that this has also been ported to the 7.2.5 branch...but can't quite remember it unfortunately - But feeling confident that MVC5 support will be added sooner.
/Jan
Hi Jan,
I was seeing conflicting information about this which was part of the reason for the post. I saw this on GitHub:
https://github.com/umbraco/Umbraco-CMS/pull/608
and this change was showing in the 7.2.4 and 7.2.5 nuget packages.
Which is why I thought I would post on here. It would be nice to get MVC 5 support :-) I'm fairly new to Umbraco, but I'm loving it so far.
Nik
Hi Nik
Yeah, seems like a branch that has not been merged into core yet. The fork you're looking on belongs to Shannon and does not necessarily reflect what's in the Umbraco core.
Glad to hear that you're having a good time with Umbraco :)
/Jan
Hi Nik,
Just read a excellent solution mentioned in the post present in the link
https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/64862-Error-trying-to-install-Umbraco-CMS-with-Visual-Studio
Solution is to install "FixedDisplayModes" package before installing Umbraco and it will work good
Thanks,
Karan
I've just run into an issue with MVC 5.2.3 where returning CurrentUmbracoPage() interferes with macro rendering on the page. I've had to downgrade to MVC 4 for it to work properly. Even though MVC 5 may work in the most recent umbraco, I'm not sure it is officially supported yet.
me too had removed all mvc 5 references and then installed mvc 4 before installing umbraco 7.2.4, it worked fine.
is working on a reply...