针对当前的RC2 – 生成的模板Razor视图包括:
@{ ViewBag.Title = "Details1"; Layout = "/Views/Shared/_Public.cshtml"; }
在ViewBag.Title下有一个红色的波形,这个编译器的错误:
Error 4 One or more types required to compile a dynamic expression cannot be found. Are you missing references to Microsoft.CSharp.dll and System.Core.dll? c:\Visual Studio 2010\Projects\myProj\Views\Webinar\Details1.cshtml 6 2 TTSTrain.Webinars.WebEntry