Add RazorGenerator Directives

This commit is contained in:
Gary Sharp
2015-12-23 10:48:00 +11:00
parent d6de5e5958
commit dee347128e
3 changed files with 7 additions and 26 deletions
+1
View File
@@ -1783,6 +1783,7 @@
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>T4MVC.cs</LastGenOutput>
</None>
<None Include="razorgenerator.directives" />
<None Include="Views\Device\AddOffline.cshtml">
<Generator>RazorGenerator</Generator>
<LastGenOutput>AddOffline.generated.cs</LastGenOutput>
+5 -26
View File
@@ -2,7 +2,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -11,35 +11,14 @@
namespace Disco.Web.Views.Update
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Routing;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using Disco;
using Disco.BI.Extensions;
using Disco.Models.Repository;
using Disco.Services;
using Disco.Services.Authorization;
using Disco.Services.Web;
using Disco.Web;
using Disco.Web.Extensions;
using System.Web.Mvc;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Update/_ViewStart.cshtml")]
public partial class ViewStart : System.Web.Mvc.ViewStartPage
public partial class _ViewStart : System.Web.Mvc.ViewStartPage
{
public ViewStart()
public _ViewStart()
{
}
public override void Execute()
+1
View File
@@ -0,0 +1 @@
GeneratePrettyNames: true