Add Microsoft.AspNetCore.All
Fixes https://github.com/aspnet/Mvc/issues/7605
This commit is contained in:
parent
07a1907918
commit
5e019bd707
|
|
@ -14,6 +14,10 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationParts
|
|||
{
|
||||
internal static HashSet<string> ReferenceAssemblies { get; } = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
|
||||
{
|
||||
// The deps file for the Microsoft.AspNetCore.All shared runtime is authored in a way where it does not say
|
||||
// it depends on Microsoft.AspNetCore.Mvc even though it does. Explicitly list it so that referencing this runtime causes
|
||||
// assembly discovery to work correctly.
|
||||
"Microsoft.AspNetCore.All",
|
||||
"Microsoft.AspNetCore.Mvc",
|
||||
"Microsoft.AspNetCore.Mvc.Abstractions",
|
||||
"Microsoft.AspNetCore.Mvc.ApiExplorer",
|
||||
|
|
|
|||
|
|
@ -356,6 +356,7 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationParts
|
|||
var additionalAssemblies = new[]
|
||||
{
|
||||
// The following assemblies are not reachable from Microsoft.AspNetCore.Mvc
|
||||
"Microsoft.AspNetCore.All",
|
||||
"Microsoft.AspNetCore.Mvc.Formatters.Xml",
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue