Discover assembly parts for Microsoft.AspnetCore.All

This commit is contained in:
John Luo 2018-01-17 10:27:16 -08:00
parent 7835809ff2
commit 6751e3b7ca
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal
{
internal static HashSet<string> ReferenceAssemblies { get; } = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
{
"Microsoft.AspNetCore.All",
"Microsoft.AspNetCore.Mvc",
"Microsoft.AspNetCore.Mvc.Abstractions",
"Microsoft.AspNetCore.Mvc.ApiExplorer",

View File

@ -245,6 +245,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal
{
// The following assemblies are not reachable from Microsoft.AspNetCore.Mvc
"Microsoft.AspNetCore.Mvc.Formatters.Xml",
"Microsoft.AspnetCore.All",
};
var dependencyContextLibraries = DependencyContext.Load(CurrentAssembly)