Added comment about the source of the Covert method

This commit is contained in:
David Fowler 2014-08-13 09:30:01 -07:00
parent 6f54d05105
commit 079fe5749d
1 changed files with 3 additions and 0 deletions

View File

@ -119,6 +119,9 @@ namespace Microsoft.AspNet.Mvc.Razor.Compilation
foreach (var metadataReference in export.MetadataReferences)
{
// Taken from https://github.com/aspnet/KRuntime/blob/757ba9bfdf80bd6277e715d6375969a7f44370ee/src/Microsoft.Framework.Runtime.Roslyn/RoslynCompiler.cs#L164
// We don't want to take a dependency on the Roslyn bit directly since it pulls in more dependencies
// than the view engine needs (Microsoft.Framework.Runtime) for example
references.Add(ConvertMetadataReference(metadataReference));
}