Fix compilation failure

This commit is contained in:
Pranav K 2017-05-25 10:18:59 -07:00
parent df9c3f9660
commit ab64769c59
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
using System; using System;
using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApplicationParts; using Microsoft.AspNetCore.Mvc.ApplicationParts;
@ -17,7 +18,7 @@ namespace ApplicationWithCustomInputFiles.Controllers
{ {
var feature = new ViewsFeature(); var feature = new ViewsFeature();
applicationManager.PopulateFeature(feature); applicationManager.PopulateFeature(feature);
return string.Join(Environment.NewLine, feature.Views.Keys); return string.Join(Environment.NewLine, feature.ViewDescriptors.Select(v => v.RelativePath));
} }
} }
} }