Update: Framework Dependancies Updated
Update: jQuery 1.9.1, jQuery UI 1.10, T4MVC, jQuery Validate, Highcharts, Knockout, tinymce; Remove: dotless compiler
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.WebPages;
|
||||
using RazorGenerator.Mvc;
|
||||
|
||||
[assembly: WebActivator.PostApplicationStartMethod(typeof(Disco.Web.App_Start.RazorGeneratorMvcStart), "Start")]
|
||||
|
||||
namespace Disco.Web.App_Start {
|
||||
public static class RazorGeneratorMvcStart {
|
||||
public static void Start() {
|
||||
var engine = new PrecompiledMvcEngine(typeof(RazorGeneratorMvcStart).Assembly) {
|
||||
#if DEBUG
|
||||
UsePhysicalViewsIfNewer = true
|
||||
#else
|
||||
UsePhysicalViewsIfNewer = false
|
||||
#endif
|
||||
};
|
||||
|
||||
ViewEngines.Engines.Insert(0, engine);
|
||||
|
||||
// StartPage lookups are done by WebPages.
|
||||
VirtualPathFactoryManager.RegisterVirtualPathFactory(engine);
|
||||
}
|
||||
}
|
||||
}
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.WebPages;
|
||||
using RazorGenerator.Mvc;
|
||||
|
||||
[assembly: WebActivatorEx.PostApplicationStartMethod(typeof(Disco.Web.App_Start.RazorGeneratorMvcStart), "Start")]
|
||||
|
||||
namespace Disco.Web.App_Start {
|
||||
public static class RazorGeneratorMvcStart {
|
||||
public static void Start() {
|
||||
var engine = new PrecompiledMvcEngine(typeof(RazorGeneratorMvcStart).Assembly) {
|
||||
#if DEBUG
|
||||
UsePhysicalViewsIfNewer = true
|
||||
#else
|
||||
UsePhysicalViewsIfNewer = false
|
||||
#endif
|
||||
};
|
||||
|
||||
ViewEngines.Engines.Insert(0, engine);
|
||||
|
||||
// StartPage lookups are done by WebPages.
|
||||
VirtualPathFactoryManager.RegisterVirtualPathFactory(engine);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user