Moving compilation to Microsoft.AspNet.Mvc.Razor
This commit is contained in:
parent
df5a6d30d6
commit
7adb658a38
|
|
@ -38,13 +38,6 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="ActivatorUtilities.cs" />
|
<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="ServiceProvider.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="ServiceProviderExtensions.cs" />
|
<Compile Include="ServiceProviderExtensions.cs" />
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.CoreServices
|
namespace Microsoft.AspNet.Mvc.Razor
|
||||||
{
|
{
|
||||||
public class CompilationFailedException : Exception
|
public class CompilationFailedException : Exception
|
||||||
{
|
{
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.CoreServices
|
namespace Microsoft.AspNet.Mvc.Razor
|
||||||
{
|
{
|
||||||
public class CompilationMessage
|
public class CompilationMessage
|
||||||
{
|
{
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.CoreServices
|
namespace Microsoft.AspNet.Mvc.Razor
|
||||||
{
|
{
|
||||||
public class CompilationResult
|
public class CompilationResult
|
||||||
{
|
{
|
||||||
|
|
@ -3,7 +3,7 @@ using System.Collections.Concurrent;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.Owin.FileSystems;
|
using Microsoft.Owin.FileSystems;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.CoreServices
|
namespace Microsoft.AspNet.Mvc.Razor
|
||||||
{
|
{
|
||||||
public class CompilerCache
|
public class CompilerCache
|
||||||
{
|
{
|
||||||
|
|
@ -8,7 +8,7 @@ using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.Owin.FileSystems;
|
using Microsoft.Owin.FileSystems;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.CoreServices
|
namespace Microsoft.AspNet.Mvc.Razor
|
||||||
{
|
{
|
||||||
public class CscBasedCompilationService : ICompilationService
|
public class CscBasedCompilationService : ICompilationService
|
||||||
{
|
{
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.Owin.FileSystems;
|
using Microsoft.Owin.FileSystems;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.CoreServices
|
namespace Microsoft.AspNet.Mvc.Razor
|
||||||
{
|
{
|
||||||
public class DefaultCompilationService : ICompilationService
|
public class DefaultCompilationService : ICompilationService
|
||||||
{
|
{
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.Owin.FileSystems;
|
using Microsoft.Owin.FileSystems;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.CoreServices
|
namespace Microsoft.AspNet.Mvc.Razor
|
||||||
{
|
{
|
||||||
public interface ICompilationService
|
public interface ICompilationService
|
||||||
{
|
{
|
||||||
|
|
@ -54,6 +54,13 @@
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<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="RazorViewOfT.cs" />
|
||||||
<Compile Include="Razor\MvcCSharpRazorCodeGenerator.cs" />
|
<Compile Include="Razor\MvcCSharpRazorCodeGenerator.cs" />
|
||||||
<Compile Include="Razor\MvcCSharpRazorCodeParser.cs" />
|
<Compile Include="Razor\MvcCSharpRazorCodeParser.cs" />
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,9 @@
|
||||||
using System;
|
using System.CodeDom.Compiler;
|
||||||
using System.CodeDom;
|
|
||||||
using System.CodeDom.Compiler;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
|
||||||
using System.Text;
|
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Web.Razor;
|
using System.Web.Razor;
|
||||||
using System.Web.Razor.Generator;
|
|
||||||
using Microsoft.AspNet.CoreServices;
|
|
||||||
using Microsoft.CSharp;
|
using Microsoft.CSharp;
|
||||||
using Microsoft.Owin;
|
|
||||||
using Microsoft.Owin.FileSystems;
|
using Microsoft.Owin.FileSystems;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Mvc.Razor
|
namespace Microsoft.AspNet.Mvc.Razor
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.AspNet.CoreServices;
|
using Microsoft.AspNet.Mvc.Razor;
|
||||||
using Microsoft.Owin.FileSystems;
|
using Microsoft.Owin.FileSystems;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Mvc.Razor
|
namespace Microsoft.AspNet.Mvc.Razor
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
"Microsoft.Owin": "2.0.2",
|
"Microsoft.Owin": "2.0.2",
|
||||||
"Microsoft.Owin.FileSystems": "2.0.2",
|
"Microsoft.Owin.FileSystems": "2.0.2",
|
||||||
"Microsoft.AspNet.WebApi.Client": "5.0.0",
|
"Microsoft.AspNet.WebApi.Client": "5.0.0",
|
||||||
"Microsoft.AspNet.CoreServices" : ""
|
"Microsoft.AspNet.Mvc.Razor" : ""
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"net45": {
|
"net45": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue