From 3c322b4a060503149a83194c3cd41c5d21e76893 Mon Sep 17 00:00:00 2001 From: Andrew Stanton-Nurse Date: Wed, 12 Aug 2015 12:56:37 -0700 Subject: [PATCH] react to DNX renames --- .../Compilation/RoslynCompilationService.cs | 2 +- .../TempData/TempDataDictionary.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.AspNet.Mvc.Razor/Compilation/RoslynCompilationService.cs b/src/Microsoft.AspNet.Mvc.Razor/Compilation/RoslynCompilationService.cs index c2a7d535cf..942e0084a5 100644 --- a/src/Microsoft.AspNet.Mvc.Razor/Compilation/RoslynCompilationService.cs +++ b/src/Microsoft.AspNet.Mvc.Razor/Compilation/RoslynCompilationService.cs @@ -182,7 +182,7 @@ namespace Microsoft.AspNet.Mvc.Razor.Compilation // Get the MetadataReference for the executing application. If it's a Roslyn reference, // we can copy the references created when compiling the application to the Razor page being compiled. // This avoids performing expensive calls to MetadataReference.CreateFromImage. - var libraryExport = _libraryExporter.GetLibraryExport(_environment.ApplicationName); + var libraryExport = _libraryExporter.GetExport(_environment.ApplicationName); if (libraryExport?.MetadataReferences != null && libraryExport.MetadataReferences.Count > 0) { Debug.Assert(libraryExport.MetadataReferences.Count == 1, diff --git a/src/Microsoft.AspNet.Mvc.ViewFeatures/TempData/TempDataDictionary.cs b/src/Microsoft.AspNet.Mvc.ViewFeatures/TempData/TempDataDictionary.cs index 3669e8091b..65364354be 100644 --- a/src/Microsoft.AspNet.Mvc.ViewFeatures/TempData/TempDataDictionary.cs +++ b/src/Microsoft.AspNet.Mvc.ViewFeatures/TempData/TempDataDictionary.cs @@ -4,7 +4,7 @@ using System; using System.Collections; using System.Collections.Generic; -using Microsoft.AspNet.Hosting; +using Microsoft.AspNet.Http; using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Mvc