MVC4 and MVCContrib

2019-06-15 16:17发布

Does MVCContrib currently support MVC4? I am having a first look at switching a project from MVC2 to MVC4 and having some issues with Portable Areas.

2条回答
仙女界的扛把子
2楼-- · 2019-06-15 16:24

I can say from experience that it "sort of" works.

I'm working on a project where we were using the Mvc.Contrib.TestHelpers assembly, and in that case, I had to download the source code from Codeplex, update the MVC references from version 3 to version 4 and rebuild the project, then reference my rebuilt version of MvcContrib.

I hope that helps :)

查看更多
三岁会撩人
3楼-- · 2019-06-15 16:38

In case anyone else comes across this post, you could try these:

http://nuget.org/packages/StudioDonder.MvcContrib.Mvc4/ http://nuget.org/packages/StudioDonder.MvcContrib.Mvc4.TestHelper/ etc.

with the source here: http://mvccontrib.codeplex.com/SourceControl/network/forks/ErikSchierboom/mvccontribmvc4

For each, they say: Note: this is a fork of the MvcContrib project that is suited for working with ASP.NET MVC 4.

查看更多
登录 后发表回答