Reacting to KRE renames

This commit is contained in:
Pranav K 2015-02-19 06:02:59 -08:00
parent 85b6382c69
commit f3393db4f4
3 changed files with 5 additions and 5 deletions

View File

@ -15,6 +15,7 @@ using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Emit;
using Microsoft.Framework.Runtime;
using Microsoft.Framework.Runtime.Roslyn;
namespace Microsoft.AspNet.Mvc.Razor
{

View File

@ -11,7 +11,6 @@ using Microsoft.CodeAnalysis;
using Microsoft.Framework.Cache.Memory;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.OptionsModel;
using Microsoft.Framework.Runtime;
using Microsoft.Framework.Runtime.Roslyn;
namespace Microsoft.AspNet.Mvc.Razor
@ -62,7 +61,7 @@ namespace Microsoft.AspNet.Mvc.Razor
CompilationSettings);
var tree = collectionGenerator.GenerateCollection();
context.CSharpCompilation = context.CSharpCompilation.AddSyntaxTrees(tree);
context.Compilation = context.Compilation.AddSyntaxTrees(tree);
}
}
@ -103,8 +102,8 @@ namespace Microsoft.AspNet.Mvc.Razor
}
});
context.CSharpCompilation = context.CSharpCompilation
.AddSyntaxTrees(syntaxTrees.Where(tree => tree != null));
context.Compilation = context.Compilation
.AddSyntaxTrees(syntaxTrees.Where(tree => tree != null));
return razorFiles.Where(file => file != null);
}

View File

@ -12,8 +12,8 @@ using Microsoft.CodeAnalysis.CSharp;
using Microsoft.Framework.Cache.Memory;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.DependencyInjection.Fallback;
using Microsoft.Framework.DependencyInjection.ServiceLookup;
using Microsoft.Framework.Runtime;
using Microsoft.Framework.Runtime.Roslyn;
namespace Microsoft.AspNet.Mvc
{