I've just deployed a 4.7 beta site to a server without MVC2 installed and I had to copy the System.Web.Mvc.dll from MVC2 in the bin folder to get it to work. Is this a dll that should be included in the build?
Thanks guys, that's a different dll. Weirdly, I hadn't installed webmatrix and I haven't copied the infrastructure dll to my bin either, seems to be working fine without that one..
Edit: Ah yes, I do have the infrastructure dll, I need new contact lenses ;-)
I also had to find a copy of the Web.Infrastructure dll when installing 4.7 on IIS7.5, once I dropped it in the bin directory it worked fine (so you don't need a full install of MVC3 if you can locate that file on another machine, just copy it over (licensing issues,if any, aside).
I know all this. I'm just saying that I needed to copy the System.Web.Mvc Version 2 dll into my bin and then the site started working. I'd already copied the infrastructure dll.
Umbraco 4.7 requires MVC2?
I've just deployed a 4.7 beta site to a server without MVC2 installed and I had to copy the System.Web.Mvc.dll from MVC2 in the bin folder to get it to work. Is this a dll that should be included in the build?
Well, I had to install MVC3 to get 4.7 running. I think it's because of the new Razor features, I was missing 'Microsoft.Web.Infrastructure.dll'
see this changeset: http://umbraco.codeplex.com/SourceControl/changeset/changes/dee6d94758cb
Thanks guys, that's a different dll. Weirdly, I hadn't installed webmatrix and I haven't copied the infrastructure dll to my bin either, seems to be working fine without that one..
Edit: Ah yes, I do have the infrastructure dll, I need new contact lenses ;-)
I also had to find a copy of the Web.Infrastructure dll when installing 4.7 on IIS7.5, once I dropped it in the bin directory it worked fine (so you don't need a full install of MVC3 if you can locate that file on another machine, just copy it over (licensing issues,if any, aside).
This information can be found on the download page at codeplex (http://umbraco.codeplex.com/releases/view/59502) under "Known issues"
I know all this. I'm just saying that I needed to copy the System.Web.Mvc Version 2 dll into my bin and then the site started working. I'd already copied the infrastructure dll.
What errors did you get before you deployed the mvc assemblies?
Alright, removed the dll again and I can't reproduce. I must've done something else as well as add the mvc dll's. So no problem, forget about it!
Hurray :-)
is working on a reply...