react to DNX renames

This commit is contained in:
Andrew Stanton-Nurse 2015-08-12 12:56:37 -07:00
parent 36a239bfb5
commit 3c322b4a06
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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