-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work with ASP.NET Core 3 #25
Comments
Added #26 incorporating the above and fixing the TypeLoadException. |
Still the same here... TypeLoadException: Could not load type 'Microsoft.AspNetCore.Mvc.Internal.HttpMethodActionConstraint' from assembly 'Microsoft.AspNetCore.Mvc.Core, Version=3.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. in AspNetCore.RouteAnalyzer.Inner.RouteAnalyzerImpl.GetAllRouteInformations() |
Hello @ugumba , for you and anyone else who comes across this, I know this is a little dated, but my team and I were dealing with this exact type load issue this week as part of an effort to migrate some of our legacy aspnetcoreapp services to 3.1 from 2.0. Our "aha" moment came when we reviewed the MSDN 3.0 compatibility docs section below and saw that the https://docs.microsoft.com/en-us/dotnet/core/compatibility/3.0#pubternal-apis-removed After removing references to the We still needed access to the httpmethod of the
|
I was able to configure endpoints like this (instead of UseRouteAnalyzer()):
But the page rendering fails with
The text was updated successfully, but these errors were encountered: