??????ASP.NET MVC??????????????????Model????????Controller???е????????????????View????????????????????????????????????????RazorGenerator??View???е????????????????????????????????????????£?
????1??????ASP.NET MVC ??????????????????

????2????Web?????nuget??????RazorGenerator.MsBuild??

????3????????????nuget??????RazorGenerator.Testing?????? NUnit

????4????Web????????????????? ViewsSharedError.cshtml
@model System.Web.Mvc.HandleErrorInfo
@{
ViewBag.Title = "Error";
}
<div id="content">
<h1 class="text-danger">Error.</h1>
<h2 class="text-danger">An error occurred while processing your request.</h2>
</div>