Moving compilation to Microsoft.AspNet.Mvc.Razor

This commit is contained in:
Pranav K 2014-01-22 15:12:28 -08:00
parent df5a6d30d6
commit 7adb658a38
12 changed files with 17 additions and 27 deletions

View File

@ -38,13 +38,6 @@
</ItemGroup>
<ItemGroup>
<Compile Include="ActivatorUtilities.cs" />
<Compile Include="Compilation\CompilationFailedException.cs" />
<Compile Include="Compilation\CompilationMessage.cs" />
<Compile Include="Compilation\CompilationResult.cs" />
<Compile Include="Compilation\CompilerCache.cs" />
<Compile Include="Compilation\CscBasedCompilationService.cs" />
<Compile Include="Compilation\DefaultCompilationService.cs" />
<Compile Include="Compilation\ICompilationService.cs" />
<Compile Include="ServiceProvider.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ServiceProviderExtensions.cs" />

View File

@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.AspNet.CoreServices
namespace Microsoft.AspNet.Mvc.Razor
{
public class CompilationFailedException : Exception
{

View File

@ -1,6 +1,6 @@
using System;
namespace Microsoft.AspNet.CoreServices
namespace Microsoft.AspNet.Mvc.Razor
{
public class CompilationMessage
{

View File

@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.AspNet.CoreServices
namespace Microsoft.AspNet.Mvc.Razor
{
public class CompilationResult
{

View File

@ -3,7 +3,7 @@ using System.Collections.Concurrent;
using System.Threading.Tasks;
using Microsoft.Owin.FileSystems;
namespace Microsoft.AspNet.CoreServices
namespace Microsoft.AspNet.Mvc.Razor
{
public class CompilerCache
{

View File

@ -8,7 +8,7 @@ using System.Text;
using System.Threading.Tasks;
using Microsoft.Owin.FileSystems;
namespace Microsoft.AspNet.CoreServices
namespace Microsoft.AspNet.Mvc.Razor
{
public class CscBasedCompilationService : ICompilationService
{

View File

@ -2,7 +2,7 @@
using System.Threading.Tasks;
using Microsoft.Owin.FileSystems;
namespace Microsoft.AspNet.CoreServices
namespace Microsoft.AspNet.Mvc.Razor
{
public class DefaultCompilationService : ICompilationService
{

View File

@ -2,7 +2,7 @@
using System.Threading.Tasks;
using Microsoft.Owin.FileSystems;
namespace Microsoft.AspNet.CoreServices
namespace Microsoft.AspNet.Mvc.Razor
{
public interface ICompilationService
{

View File

@ -54,6 +54,13 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Compilation\CompilationFailedException.cs" />
<Compile Include="Compilation\CompilationMessage.cs" />
<Compile Include="Compilation\CompilationResult.cs" />
<Compile Include="Compilation\CompilerCache.cs" />
<Compile Include="Compilation\CscBasedCompilationService.cs" />
<Compile Include="Compilation\DefaultCompilationService.cs" />
<Compile Include="Compilation\ICompilationService.cs" />
<Compile Include="RazorViewOfT.cs" />
<Compile Include="Razor\MvcCSharpRazorCodeGenerator.cs" />
<Compile Include="Razor\MvcCSharpRazorCodeParser.cs" />

View File

@ -1,19 +1,9 @@
using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.CodeDom.Compiler;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Web.Razor;
using System.Web.Razor.Generator;
using Microsoft.AspNet.CoreServices;
using Microsoft.CSharp;
using Microsoft.Owin;
using Microsoft.Owin.FileSystems;
namespace Microsoft.AspNet.Mvc.Razor

View File

@ -1,6 +1,6 @@
using System;
using System.Threading.Tasks;
using Microsoft.AspNet.CoreServices;
using Microsoft.AspNet.Mvc.Razor;
using Microsoft.Owin.FileSystems;
namespace Microsoft.AspNet.Mvc.Razor

View File

@ -5,7 +5,7 @@
"Microsoft.Owin": "2.0.2",
"Microsoft.Owin.FileSystems": "2.0.2",
"Microsoft.AspNet.WebApi.Client": "5.0.0",
"Microsoft.AspNet.CoreServices" : ""
"Microsoft.AspNet.Mvc.Razor" : ""
},
"configurations": {
"net45": {