Ensure that assembly path is specified in Roslyn MetadataReference.
This commit is contained in:
parent
829a5c9046
commit
1bad8ce6d1
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue