1. September 2011 15:08
If you have downloaded a new mvc3 project or a asp.net application using razor views and you have recived an error being able to find System.Web.Razor
Line 78: <add assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 79: <add assembly="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 80: <add assembly="System.Web.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 81: <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 82: <add assembly="System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
If you have the error above it is because you are missing the new razor views from microsoft. Which is avilable to download and install at the following location.
http://www.microsoft.com/web/gallery/install.aspx?appid=MVC3
Note: Something that really annoyed me while installing the above is that it decided to crash then attempt to restart windows without any confirmation!
32c32554-2682-453d-8fdb-3e2bb2453d05|0|.0