You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
and you have an application that depends on MVC by referencing this library, it causes actions to not be added to the ActionDescriptorCollectionProvider.
This can be reproduced by the following steps:
Create an ASP.NET Core Web Application with the default web application template
Add a class library as a project
Change project.json of the class library to the content listed above in ClassLibrary1 project.json
Remove reference to Microsoft.AspNetCore.Mvc in web application project.json
I believe this is a dupe of #4555
The workaround for the moment is to just reference Microsoft.AspNetCore.Mvc directly in your web app or in any class library that contains things like controllers and so on.
When you have some library that references Microsoft.AspNetCore.Mvc such as in the following project.json
ClassLibrary1 project.json
and you have an application that depends on MVC by referencing this library, it causes actions to not be added to the ActionDescriptorCollectionProvider.
This can be reproduced by the following steps:
Create an ASP.NET Core Web Application with the default web application template
Add a class library as a project
Change project.json of the class library to the content listed above in ClassLibrary1 project.json
Remove reference to Microsoft.AspNetCore.Mvc in web application project.json
The following can be used to verify there are no actions being found
The text was updated successfully, but these errors were encountered: