AspnetMvc2 and MvcContrib not finding Microsoft.Web.Mvc.dll
Trying out AspnetMVC2 and MvcContrib you might run into
Could not load file or assembly ‘Microsoft.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.
The solution is to get the file Microsoft.Web.Mvc.dll from the downloaded zip. Drop the file into the bin folder of the site (add it somewhere else, like “MvcContrib” and set it to copy to the bin folder.
I presently have a post-build event command
copy $(SolutionDir)External\MvcContrib\Microsoft.Web.Mvc.dll $(TargetDir)
I also use dotnet4 which might have to do with the error message.