Ensure that assembly path is specified in Roslyn MetadataReference.

This commit is contained in:
Pranav K 2015-08-25 12:56:23 -07:00
parent 829a5c9046
commit 1bad8ce6d1
1 changed files with 4 additions and 4 deletions

View File

@ -14,11 +14,11 @@ using Microsoft.AspNet.Mvc.Razor.Internal;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Emit;
using Microsoft.Framework.Internal;
using Microsoft.Framework.OptionsModel;
using Microsoft.Dnx.Runtime;
using Microsoft.Dnx.Compilation;
using Microsoft.Dnx.Compilation.CSharp;
using Microsoft.Dnx.Runtime;
using Microsoft.Framework.Internal;
using Microsoft.Framework.OptionsModel;
namespace Microsoft.AspNet.Mvc.Razor.Compilation
{
@ -258,7 +258,7 @@ namespace Microsoft.AspNet.Mvc.Razor.Compilation
}
});
return metadata.GetReference();
return metadata.GetReference(filePath: path);
}
private static bool IsError(Diagnostic diagnostic)