Razor Compilation Error
We tried, we really did, but we just can't compile your view.
We're sorry :-(
Graphics courtesy of the awesome Matthew Inman
We tried, we really did, but we just can't compile your view.
We're sorry :-(
Graphics courtesy of the awesome Matthew Inman
Error compiling template: Views/Index.cshtml
Errors:
[CS0016] Line: 0 Column: 0 - Could not write to output file 'c:\Windows\Temp\Temp_78e5380c0dac459da330101022b043af.dll' -- 'The requested operation could not be completed due to a file system limitation ' (show)
Details:
@using Overseer.Website.ViewModels
@using System.Linq
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<SiteObjectViewModel>
@section PageHeading
{
<div class="splash mb-3">
<div class="container py-3 py-sm-4 py-md-5">
<h1 class="text-center text-white">Property Maintenance, Landscaping & Gardening</h1>
</div>
</div>
}
@*
<div class="container pb-3">
<p class="h3 text-center">Full site coming soon</p>
<h2 class="text-center mb-3">Vehicle Features</h2>
<div class="row">
@foreach(var image in Model.ViewSiteImages)
{
<div class="col-6 col-md-3 mb-3">
<div class="card border-0 shadow h-100">
<img class="card-img-top img-fluid" alt="" src="/Content/images/thumbnail/350/350/@image.Path" width="350" height="350" style="max-height">
<div class="card-body px-1 px-sm-2 text-center d-flex flex-column">
<p class="h5 card-title mb-0">@image.Name</p>
</div>
</div>
</div>
}
</div>
</div>
*@
@* Outputs the content of the site object specified by Settings.IndexPageReference *@
<div class="container pb-3">
@Html.Raw(Model.Content)
</div>
Compilation Source://------------------------------------------------------------------------------
Line 1: // <auto-generated>
Line 2: // This code was generated by a tool.
Line 3: // Runtime Version:4.0.30319.42000
Line 4: //
Line 5: // Changes to this file may cause incorrect behavior and will be lost if
Line 6: // the code is regenerated.
Line 7: // </auto-generated>
Line 8: //------------------------------------------------------------------------------
Line 9:
Line 10: namespace RazorOutput {
Line 11: using Microsoft.CSharp.RuntimeBinder;
Line 12: using System;
Line 13: using System.IO;
Line 14: using Newtonsoft.Json;
Line 15: using Overseer.Website;
Line 16: using Overseer.Website.Library;
Line 17: using Overseer.Library;
Line 18: using System.Collections.Generic;
Line 19:
Line 20: #line 1 "roo"
Line 21: using Overseer.Website.ViewModels;
Line 22:
Line 23: #line default
Line 24: #line hidden
Line 25:
Line 26: #line 2 "roo"
Line 27: using System.Linq;
Line 28:
Line 29: #line default
Line 30: #line hidden
Line 31:
Line 32:
Line 33: public class RazorView : Nancy.ViewEngines.Razor.NancyRazorViewBase<SiteObjectViewModel> {
Line 34:
Line 35: #line hidden
Line 36:
Line 37: public RazorView() {
Line 38: }
Line 39:
Line 40: public override void Execute() {
Line 41: DefineSection("PageHeading", () => {
Line 42:
Line 43: WriteLiteral("\r\n\t<div");
Line 44:
Line 45: WriteLiteral(" class=\"splash mb-3\"");
Line 46:
Line 47: WriteLiteral(">\r\n\t\t<div");
Line 48:
Line 49: WriteLiteral(" class=\"container py-3 py-sm-4 py-md-5\"");
Line 50:
Line 51: WriteLiteral(">\r\n\t\t\t<h1");
Line 52:
Line 53: WriteLiteral(" class=\"text-center text-white\"");
Line 54:
Line 55: WriteLiteral(">Property Maintenance, Landscaping & Gardening</h1>\r\n\t\t</div>\r\n\t</div>\r\n");
Line 56:
Line 57: });
Line 58:
Line 59: WriteLiteral("\r\n");
Line 60:
Line 61: WriteLiteral("\r\n\r\n");
Line 62:
Line 63: WriteLiteral("\r\n<div");
Line 64:
Line 65: WriteLiteral(" class=\"container pb-3\"");
Line 66:
Line 67: WriteLiteral(">\r\n");
Line 68:
Line 69: WriteLiteral("\t");
Line 70:
Line 71:
Line 72: #line 37 "roo"
Line 73: Write(Html.Raw(Model.Content));
Line 74:
Line 75:
Line 76: #line default
Line 77: #line hidden
Line 78: WriteLiteral("\r\n</div>\r\n");
Line 79:
Line 80: }
Line 81: }
Line 82: }
Line 83: