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
[severity:It bothers me. A fix would be nice] [regression] [worked-in:17.3.3]
I'm working on an API project using .NET 6, and when using hot reload, after a certain number of times, the method (and thus the enpoind) gets duplicated. I'm not quite sure if it's a .NET 6 problem or a VS problem.
To replicate (could be a local problem also):
Create an edpoint and edit it several times, then hot reload, after multiple times reloading the code the app will get an Microsoft.AspNetCore.Routing.Matching.AmbiguousMatchException: The request matched multiple endpoints.
If I start reloading several times after I get the error, the endpoint will get duplicated the number of times I have hot reloaded my code.
This issue has been moved from a ticket on Developer Community.
[severity:It bothers me. A fix would be nice] [regression] [worked-in:17.3.3]
I'm working on an API project using .NET 6, and when using hot reload, after a certain number of times, the method (and thus the enpoind) gets duplicated. I'm not quite sure if it's a .NET 6 problem or a VS problem.
To replicate (could be a local problem also):
If I start reloading several times after I get the error, the endpoint will get duplicated the number of times I have hot reloaded my code.
Original Comments
Feedback Bot on 8/30/2022, 07:35 PM:
(private comment, text removed)
Original Solutions
(no solutions)