Get builds working better within VS (temporary fix?); disable pre-compilation

- remove `RazorPreCompilation.cs` files from all but the PrecompilationWebSite
- related to #2498 but not addressing that issue since pre-compilation is what that site is about
This commit is contained in:
Doug Bunting 2015-05-04 15:47:08 -07:00
parent ab4cd5c4c4
commit 3fbead0ce8
2 changed files with 0 additions and 42 deletions

View File

@ -1,21 +0,0 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Mvc;
using Microsoft.Framework.Runtime;
namespace MvcSample.Web
{
public class RazorPreCompilation : RazorPreCompileModule
{
public RazorPreCompilation(IServiceProvider provider,
IApplicationEnvironment applicationEnvironment)
: base(provider)
{
GenerateSymbols = string.Equals(applicationEnvironment.Configuration,
"debug",
StringComparison.OrdinalIgnoreCase);
}
}
}

View File

@ -1,21 +0,0 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Mvc;
using Microsoft.Framework.Runtime;
namespace TagHelperSample.Web
{
public class TagHelperPrecompilation : RazorPreCompileModule
{
public TagHelperPrecompilation(IServiceProvider provider,
IApplicationEnvironment applicationEnvironment)
: base(provider)
{
GenerateSymbols = string.Equals(applicationEnvironment.Configuration,
"debug",
StringComparison.OrdinalIgnoreCase);
}
}
}