Je migration mon api web Core .NET de 1.1.2 à 2.0 et je viens erreur accross à:Migration noyau .NET 2.0 IActionSelectorDecisionTreeProvider manque
app.UseMvc();
J'obtiens l'erreur:
System.TypeLoadException: 'Could not load type 'Microsoft.AspNetCore.Mvc.Internal.IActionSelectorDecisionTreeProvider' from assembly 'Microsoft.AspNetCore.Mvc.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.'
paquets que j'ai installé:
Microsoft.AspNetCore.All v2.0
Microsoft.Extensions.Configuration v2.0
Microsoft.Extensions.Configuration.CommandLine v2.0
Microsoft.Extensions.Logging.Debug v2.0
Microsoft.Extensions.Options v2.0
Microsoft.NETCore.App v2.0
j'ai trouvé this et this rapport d'erreur github mais il n'y a pas mentionné au sujet
app.UseMvc();
Quelqu'un at-il dans cette question?
Je crois que Microsoft.AspNetCore.Mvc.Internal.IActionSelectorDecisionTre eProvider a été supprimé dans le noyau 2.0 –